[INFO] cloning repository https://github.com/timtadh/rusty-slr
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/timtadh/rusty-slr" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftimtadh%2Frusty-slr", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftimtadh%2Frusty-slr'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 3de9202895b0f35e962be51798ff5697c1bae335
[INFO] checking timtadh/rusty-slr against try#a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399 for pr-145770
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftimtadh%2Frusty-slr" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/timtadh/rusty-slr
[INFO] finished tweaking git repo https://github.com/timtadh/rusty-slr
[INFO] tweaked toml for git repo https://github.com/timtadh/rusty-slr written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/timtadh/rusty-slr on toolchain a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/timtadh/rusty-slr already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 20b9e46c0cdb4eff8eaa2a32da4b7802a5a4c492ad5dd57dd487bf0fd4d356a3
[INFO] running `Command { std: "docker" "start" "-a" "20b9e46c0cdb4eff8eaa2a32da4b7802a5a4c492ad5dd57dd487bf0fd4d356a3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "20b9e46c0cdb4eff8eaa2a32da4b7802a5a4c492ad5dd57dd487bf0fd4d356a3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "20b9e46c0cdb4eff8eaa2a32da4b7802a5a4c492ad5dd57dd487bf0fd4d356a3", kill_on_drop: false }`
[INFO] [stdout] 20b9e46c0cdb4eff8eaa2a32da4b7802a5a4c492ad5dd57dd487bf0fd4d356a3
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 2fcee0410fd19939079d06ceff2d429a40ea7900a45e76fd6398e085c656cbe2
[INFO] running `Command { std: "docker" "start" "-a" "2fcee0410fd19939079d06ceff2d429a40ea7900a45e76fd6398e085c656cbe2", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] [stderr]     Checking slr v0.0.1 (/opt/rustwide/workdir)
[INFO] [stdout] error: macros that expand to items must be delimited with braces or followed by a semicolon
[INFO] [stdout]   --> src/main.rs:23:17
[INFO] [stdout]    |
[INFO] [stdout] 23 |   macro_rules! log(($fmt:expr$(, $msg:expr)*) => {
[INFO] [stdout]    |  _________________^
[INFO] [stdout] 24 | |     (writeln![io::stderr(), $fmt $(, $msg)*]).ok().expect("log failed")
[INFO] [stdout] 25 | | })
[INFO] [stdout]    | |__^
[INFO] [stdout]    |
[INFO] [stdout] help: change the delimiters to curly braces
[INFO] [stdout]    |
[INFO] [stdout] 23 ~ macro_rules! log{($fmt:expr$(, $msg:expr)*) => {
[INFO] [stdout] 24 |     (writeln![io::stderr(), $fmt $(, $msg)*]).ok().expect("log failed")
[INFO] [stdout] 25 ~ }}
[INFO] [stdout]    |
[INFO] [stdout] help: add a semicolon
[INFO] [stdout]    |
[INFO] [stdout] 25 | });
[INFO] [stdout]    |   +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: macros that expand to items must be delimited with braces or followed by a semicolon
[INFO] [stdout]   --> src/main.rs:23:17
[INFO] [stdout]    |
[INFO] [stdout] 23 |   macro_rules! log(($fmt:expr$(, $msg:expr)*) => {
[INFO] [stdout]    |  _________________^
[INFO] [stdout] 24 | |     (writeln![io::stderr(), $fmt $(, $msg)*]).ok().expect("log failed")
[INFO] [stdout] 25 | | })
[INFO] [stdout]    | |__^
[INFO] [stdout]    |
[INFO] [stdout] help: change the delimiters to curly braces
[INFO] [stdout]    |
[INFO] [stdout] 23 ~ macro_rules! log{($fmt:expr$(, $msg:expr)*) => {
[INFO] [stdout] 24 |     (writeln![io::stderr(), $fmt $(, $msg)*]).ok().expect("log failed")
[INFO] [stdout] 25 ~ }}
[INFO] [stdout]    |
[INFO] [stdout] help: add a semicolon
[INFO] [stdout]    |
[INFO] [stdout] 25 | });
[INFO] [stdout]    |   +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `box_syntax` has been removed
[INFO] [stdout]   --> src/gram_parser.rs:35:24
[INFO] [stdout]    |
[INFO] [stdout] 35 |         self.kids.push(box node);
[INFO] [stdout]    |                        ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: use `Box::new()` instead
[INFO] [stdout]    |
[INFO] [stdout] 35 -         self.kids.push(box node);
[INFO] [stdout] 35 +         self.kids.push(Box::new(node));
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `box_syntax` has been removed
[INFO] [stdout]   --> src/gram_parser.rs:39:29
[INFO] [stdout]    |
[INFO] [stdout] 39 |         self.kids.insert(0, box node);
[INFO] [stdout]    |                             ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: use `Box::new()` instead
[INFO] [stdout]    |
[INFO] [stdout] 39 -         self.kids.insert(0, box node);
[INFO] [stdout] 39 +         self.kids.insert(0, Box::new(node));
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `box_syntax` has been removed
[INFO] [stdout]   --> src/gram_parser.rs:35:24
[INFO] [stdout]    |
[INFO] [stdout] 35 |         self.kids.push(box node);
[INFO] [stdout]    |                        ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: use `Box::new()` instead
[INFO] [stdout]    |
[INFO] [stdout] 35 -         self.kids.push(box node);
[INFO] [stdout] 35 +         self.kids.push(Box::new(node));
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `box_syntax` has been removed
[INFO] [stdout]   --> src/gram_parser.rs:39:29
[INFO] [stdout]    |
[INFO] [stdout] 39 |         self.kids.insert(0, box node);
[INFO] [stdout]    |                             ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: use `Box::new()` instead
[INFO] [stdout]    |
[INFO] [stdout] 39 -         self.kids.insert(0, box node);
[INFO] [stdout] 39 +         self.kids.insert(0, Box::new(node));
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected type, found `|`
[INFO] [stdout]    --> src/gram_parser.rs:135:50
[INFO] [stdout]     |
[INFO] [stdout] 135 |     fn epsilon<T, E>(&self, i : uint, n : T, f : |uint| -> Result<(uint,T),E>) -> Result<(uint,T),E> {
[INFO] [stdout]     |                                                  ^ expected type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected one of `:`, `@`, or `|`, found `>`
[INFO] [stdout]    --> src/gram_parser.rs:135:77
[INFO] [stdout]     |
[INFO] [stdout] 135 |     fn epsilon<T, E>(&self, i : uint, n : T, f : |uint| -> Result<(uint,T),E>) -> Result<(uint,T),E> {
[INFO] [stdout]     |                                                                             ^ expected one of `:`, `@`, or `|`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected type, found `|`
[INFO] [stdout]    --> src/gram_parser.rs:135:50
[INFO] [stdout]     |
[INFO] [stdout] 135 |     fn epsilon<T, E>(&self, i : uint, n : T, f : |uint| -> Result<(uint,T),E>) -> Result<(uint,T),E> {
[INFO] [stdout]     |                                                  ^ expected type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected one of `:`, `@`, or `|`, found `>`
[INFO] [stdout]    --> src/gram_parser.rs:135:77
[INFO] [stdout]     |
[INFO] [stdout] 135 |     fn epsilon<T, E>(&self, i : uint, n : T, f : |uint| -> Result<(uint,T),E>) -> Result<(uint,T),E> {
[INFO] [stdout]     |                                                                             ^ expected one of `:`, `@`, or `|`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0463]: can't find crate for `collections`
[INFO] [stdout]  --> src/gram_parser.rs:7:1
[INFO] [stdout]   |
[INFO] [stdout] 7 | extern crate collections;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0463]: can't find crate for `collections`
[INFO] [stdout]  --> src/slr.rs:6:1
[INFO] [stdout]   |
[INFO] [stdout] 6 | extern crate collections;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0463]: can't find crate for `collections`
[INFO] [stdout]  --> src/gram_parser.rs:7:1
[INFO] [stdout]   |
[INFO] [stdout] 7 | extern crate collections;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0463]: can't find crate for `collections`
[INFO] [stdout]  --> src/slr.rs:6:1
[INFO] [stdout]   |
[INFO] [stdout] 6 | extern crate collections;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `std::collections::TreeMap`
[INFO] [stdout]  --> src/slr.rs:9:40
[INFO] [stdout]   |
[INFO] [stdout] 9 | use std::collections::{HashMap,HashSet,TreeMap};
[INFO] [stdout]   |                                        ^^^^^^^
[INFO] [stdout]   |                                        |
[INFO] [stdout]   |                                        no `TreeMap` in `collections`
[INFO] [stdout]   |                                        help: a similar name exists in the module: `BTreeMap`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `std::collections::TreeMap`
[INFO] [stdout]  --> src/slr.rs:9:40
[INFO] [stdout]   |
[INFO] [stdout] 9 | use std::collections::{HashMap,HashSet,TreeMap};
[INFO] [stdout]   |                                        ^^^^^^^
[INFO] [stdout]   |                                        |
[INFO] [stdout]   |                                        no `TreeMap` in `collections`
[INFO] [stdout]   |                                        help: a similar name exists in the module: `BTreeMap`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved imports `std::fmt::Show`, `std::fmt::FormatError`
[INFO] [stdout]   --> src/slr.rs:13:26
[INFO] [stdout]    |
[INFO] [stdout] 13 | use std::fmt::{Formatter,Show,FormatError};
[INFO] [stdout]    |                          ^^^^ ^^^^^^^^^^^ no `FormatError` in `fmt`
[INFO] [stdout]    |                          |
[INFO] [stdout]    |                          no `Show` in `fmt`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `deriving` in this scope
[INFO] [stdout]   --> src/gram_parser.rs:12:3
[INFO] [stdout]    |
[INFO] [stdout] 12 | #[deriving(Show)]
[INFO] [stdout]    |   ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved imports `std::fmt::Show`, `std::fmt::FormatError`
[INFO] [stdout]   --> src/slr.rs:13:26
[INFO] [stdout]    |
[INFO] [stdout] 13 | use std::fmt::{Formatter,Show,FormatError};
[INFO] [stdout]    |                          ^^^^ ^^^^^^^^^^^ no `FormatError` in `fmt`
[INFO] [stdout]    |                          |
[INFO] [stdout]    |                          no `Show` in `fmt`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `deriving` in this scope
[INFO] [stdout]   --> src/gram_parser.rs:12:3
[INFO] [stdout]    |
[INFO] [stdout] 12 | #[deriving(Show)]
[INFO] [stdout]    |   ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `deriving` in this scope
[INFO] [stdout]   --> src/gram_parser.rs:18:3
[INFO] [stdout]    |
[INFO] [stdout] 18 | #[deriving(Show)]
[INFO] [stdout]    |   ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `deriving` in this scope
[INFO] [stdout]  --> src/gram_lexer.rs:8:3
[INFO] [stdout]   |
[INFO] [stdout] 8 | #[deriving(Show)]
[INFO] [stdout]   |   ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `deriving` in this scope
[INFO] [stdout]   --> src/gram_parser.rs:18:3
[INFO] [stdout]    |
[INFO] [stdout] 18 | #[deriving(Show)]
[INFO] [stdout]    |   ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `deriving` in this scope
[INFO] [stdout]  --> src/gram_lexer.rs:8:3
[INFO] [stdout]   |
[INFO] [stdout] 8 | #[deriving(Show)]
[INFO] [stdout]   |   ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `deriving` in this scope
[INFO] [stdout]  --> src/gram_lexer.rs:9:3
[INFO] [stdout]   |
[INFO] [stdout] 9 | #[deriving(PartialEq)]
[INFO] [stdout]   |   ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `deriving` in this scope
[INFO] [stdout]   --> src/gram_lexer.rs:19:3
[INFO] [stdout]    |
[INFO] [stdout] 19 | #[deriving(Show)]
[INFO] [stdout]    |   ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `deriving` in this scope
[INFO] [stdout]   --> src/gram_lexer.rs:26:3
[INFO] [stdout]    |
[INFO] [stdout] 26 | #[deriving(Show)]
[INFO] [stdout]    |   ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `deriving` in this scope
[INFO] [stdout]  --> src/gram_lexer.rs:9:3
[INFO] [stdout]   |
[INFO] [stdout] 9 | #[deriving(PartialEq)]
[INFO] [stdout]   |   ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `deriving` in this scope
[INFO] [stdout]   --> src/gram_lexer.rs:19:3
[INFO] [stdout]    |
[INFO] [stdout] 19 | #[deriving(Show)]
[INFO] [stdout]    |   ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `deriving` in this scope
[INFO] [stdout]   --> src/gram_lexer.rs:26:3
[INFO] [stdout]    |
[INFO] [stdout] 26 | #[deriving(Show)]
[INFO] [stdout]    |   ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `deriving` in this scope
[INFO] [stdout]   --> src/gram_lexer.rs:32:3
[INFO] [stdout]    |
[INFO] [stdout] 32 | #[deriving(Show)]
[INFO] [stdout]    |   ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `deriving` in this scope
[INFO] [stdout]   --> src/gram_lexer.rs:32:3
[INFO] [stdout]    |
[INFO] [stdout] 32 | #[deriving(Show)]
[INFO] [stdout]    |   ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `deriving` in this scope
[INFO] [stdout]   --> src/slr.rs:42:3
[INFO] [stdout]    |
[INFO] [stdout] 42 | #[deriving(Hash, Clone, PartialEq, Ord, PartialOrd, Eq, Show)]
[INFO] [stdout]    |   ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `deriving` in this scope
[INFO] [stdout]   --> src/slr.rs:42:3
[INFO] [stdout]    |
[INFO] [stdout] 42 | #[deriving(Hash, Clone, PartialEq, Ord, PartialOrd, Eq, Show)]
[INFO] [stdout]    |   ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `deriving` in this scope
[INFO] [stdout]   --> src/slr.rs:49:3
[INFO] [stdout]    |
[INFO] [stdout] 49 | #[deriving(Show, Eq)]
[INFO] [stdout]    |   ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `deriving` in this scope
[INFO] [stdout]   --> src/slr.rs:49:3
[INFO] [stdout]    |
[INFO] [stdout] 49 | #[deriving(Show, Eq)]
[INFO] [stdout]    |   ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `deriving` in this scope
[INFO] [stdout]    --> src/slr.rs:172:3
[INFO] [stdout]     |
[INFO] [stdout] 172 | #[deriving(Hash, Clone, PartialEq, Ord, PartialOrd, Eq, Show)]
[INFO] [stdout]     |   ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `deriving` in this scope
[INFO] [stdout]    --> src/slr.rs:189:3
[INFO] [stdout]     |
[INFO] [stdout] 189 | #[deriving(Hash, Eq)]
[INFO] [stdout]     |   ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `fail` in this scope
[INFO] [stdout]    --> src/slr.rs:294:13
[INFO] [stdout]     |
[INFO] [stdout] 294 |             fail!(format!("Unexpected Node {}", node))
[INFO] [stdout]     |             ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `deriving` in this scope
[INFO] [stdout]    --> src/slr.rs:172:3
[INFO] [stdout]     |
[INFO] [stdout] 172 | #[deriving(Hash, Clone, PartialEq, Ord, PartialOrd, Eq, Show)]
[INFO] [stdout]     |   ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `deriving` in this scope
[INFO] [stdout]    --> src/slr.rs:189:3
[INFO] [stdout]     |
[INFO] [stdout] 189 | #[deriving(Hash, Eq)]
[INFO] [stdout]     |   ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `fail` in this scope
[INFO] [stdout]    --> src/slr.rs:294:13
[INFO] [stdout]     |
[INFO] [stdout] 294 |             fail!(format!("Unexpected Node {}", node))
[INFO] [stdout]     |             ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `fail` in this scope
[INFO] [stdout]    --> src/slr.rs:389:20
[INFO] [stdout]     |
[INFO] [stdout] 389 |             _ => { fail!("Must pass in a NonTerm to FOLLOW"); }
[INFO] [stdout]     |                    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `fail` in this scope
[INFO] [stdout]    --> src/slr.rs:389:20
[INFO] [stdout]     |
[INFO] [stdout] 389 |             _ => { fail!("Must pass in a NonTerm to FOLLOW"); }
[INFO] [stdout]     |                    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `deriving` in this scope
[INFO] [stdout]    --> src/slr.rs:496:3
[INFO] [stdout]     |
[INFO] [stdout] 496 | #[deriving(Show)]
[INFO] [stdout]     |   ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `deriving` in this scope
[INFO] [stdout]    --> src/slr.rs:508:3
[INFO] [stdout]     |
[INFO] [stdout] 508 | #[deriving(Show)]
[INFO] [stdout]     |   ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `deriving` in this scope
[INFO] [stdout]    --> src/slr.rs:496:3
[INFO] [stdout]     |
[INFO] [stdout] 496 | #[deriving(Show)]
[INFO] [stdout]     |   ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `deriving` in this scope
[INFO] [stdout]    --> src/slr.rs:508:3
[INFO] [stdout]     |
[INFO] [stdout] 508 | #[deriving(Show)]
[INFO] [stdout]     |   ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `deriving` in this scope
[INFO] [stdout]    --> src/slr.rs:517:3
[INFO] [stdout]     |
[INFO] [stdout] 517 | #[deriving(Show)]
[INFO] [stdout]     |   ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `deriving` in this scope
[INFO] [stdout]    --> src/slr.rs:517:3
[INFO] [stdout]     |
[INFO] [stdout] 517 | #[deriving(Show)]
[INFO] [stdout]     |   ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `fail` in this scope
[INFO] [stdout]   --> src/main.rs:44:17
[INFO] [stdout]    |
[INFO] [stdout] 44 |                 fail!("unreachable");
[INFO] [stdout]    |                 ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `fail` in this scope
[INFO] [stdout]   --> src/main.rs:44:17
[INFO] [stdout]    |
[INFO] [stdout] 44 |                 fail!("unreachable");
[INFO] [stdout]    |                 ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0496]: lifetime name `'a` shadows a lifetime name that is already in scope
[INFO] [stdout]   --> src/gram_parser.rs:57:12
[INFO] [stdout]    |
[INFO] [stdout] 56 | impl<'a> Parser<'a> {
[INFO] [stdout]    |      -- first declared here
[INFO] [stdout] 57 |     fn new<'a>(lexer : &mut Lexer<'a>) -> Result<Parser<'a>,LexError> {
[INFO] [stdout]    |            ^^ lifetime `'a` already in scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0496]: lifetime name `'a` shadows a lifetime name that is already in scope
[INFO] [stdout]   --> src/gram_parser.rs:57:12
[INFO] [stdout]    |
[INFO] [stdout] 56 | impl<'a> Parser<'a> {
[INFO] [stdout]    |      -- first declared here
[INFO] [stdout] 57 |     fn new<'a>(lexer : &mut Lexer<'a>) -> Result<Parser<'a>,LexError> {
[INFO] [stdout]    |            ^^ lifetime `'a` already in scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0496]: lifetime name `'a` shadows a lifetime name that is already in scope
[INFO] [stdout]    --> src/gram_parser.rs:139:16
[INFO] [stdout]     |
[INFO] [stdout] 56  | impl<'a> Parser<'a> {
[INFO] [stdout]     |      -- first declared here
[INFO] [stdout] ...
[INFO] [stdout] 139 |     fn consume<'a>(&'a self, i : uint, toktype : TokenType) -> Result<(uint, Token<'a>), ParseError> {
[INFO] [stdout]     |                ^^ lifetime `'a` already in scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0496]: lifetime name `'a` shadows a lifetime name that is already in scope
[INFO] [stdout]    --> src/gram_parser.rs:139:16
[INFO] [stdout]     |
[INFO] [stdout] 56  | impl<'a> Parser<'a> {
[INFO] [stdout]     |      -- first declared here
[INFO] [stdout] ...
[INFO] [stdout] 139 |     fn consume<'a>(&'a self, i : uint, toktype : TokenType) -> Result<(uint, Token<'a>), ParseError> {
[INFO] [stdout]     |                ^^ lifetime `'a` already in scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0496]: lifetime name `'a` shadows a lifetime name that is already in scope
[INFO] [stdout]    --> src/slr.rs:224:11
[INFO] [stdout]     |
[INFO] [stdout] 223 | impl<'a> PartialEq for Item<'a> {
[INFO] [stdout]     |      -- first declared here
[INFO] [stdout] 224 |     fn eq<'a>(&self, other : &Item<'a>) -> bool {
[INFO] [stdout]     |           ^^ lifetime `'a` already in scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0496]: lifetime name `'a` shadows a lifetime name that is already in scope
[INFO] [stdout]    --> src/slr.rs:227:11
[INFO] [stdout]     |
[INFO] [stdout] 223 | impl<'a> PartialEq for Item<'a> {
[INFO] [stdout]     |      -- first declared here
[INFO] [stdout] ...
[INFO] [stdout] 227 |     fn ne<'a>(&self, other : &Item<'a>) -> bool {
[INFO] [stdout]     |           ^^ lifetime `'a` already in scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0496]: lifetime name `'a` shadows a lifetime name that is already in scope
[INFO] [stdout]    --> src/slr.rs:224:11
[INFO] [stdout]     |
[INFO] [stdout] 223 | impl<'a> PartialEq for Item<'a> {
[INFO] [stdout]     |      -- first declared here
[INFO] [stdout] 224 |     fn eq<'a>(&self, other : &Item<'a>) -> bool {
[INFO] [stdout]     |           ^^ lifetime `'a` already in scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0496]: lifetime name `'a` shadows a lifetime name that is already in scope
[INFO] [stdout]    --> src/slr.rs:227:11
[INFO] [stdout]     |
[INFO] [stdout] 223 | impl<'a> PartialEq for Item<'a> {
[INFO] [stdout]     |      -- first declared here
[INFO] [stdout] ...
[INFO] [stdout] 227 |     fn ne<'a>(&self, other : &Item<'a>) -> bool {
[INFO] [stdout]     |           ^^ lifetime `'a` already in scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0496]: lifetime name `'a` shadows a lifetime name that is already in scope
[INFO] [stdout]    --> src/slr.rs:523:18
[INFO] [stdout]     |
[INFO] [stdout] 522 | impl<'a> SLRAutomaton<'a> {
[INFO] [stdout]     |      -- first declared here
[INFO] [stdout] 523 |     pub fn table<'a>(&'a self) -> SLRTable<'a> {
[INFO] [stdout]     |                  ^^ lifetime `'a` already in scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Lex` in this scope
[INFO] [stdout]   --> src/gram_parser.rs:47:34
[INFO] [stdout]    |
[INFO] [stdout] 47 |         Err(err) => { return Err(Lex(err)) }
[INFO] [stdout]    |                                  ^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]    |
[INFO] [stdout] 9  + use gram_parser::ParseError::Lex;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `UnconsumedInput` in this scope
[INFO] [stdout]   --> src/gram_parser.rs:75:24
[INFO] [stdout]    |
[INFO] [stdout] 75 |             return Err(UnconsumedInput(format!("{}", self.tokens.slice(i, self.tokens.len()))))
[INFO] [stdout]    |                        ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]    |
[INFO] [stdout] 9  + use gram_parser::ParseError::UnconsumedInput;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `uint` in this scope
[INFO] [stdout]   --> src/gram_parser.rs:81:31
[INFO] [stdout]    |
[INFO] [stdout] 81 |     fn Productions(&self, i : uint) -> Result<(uint,Node),ParseError> {
[INFO] [stdout]    |                               ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `uint` in this scope
[INFO] [stdout]   --> src/gram_parser.rs:81:48
[INFO] [stdout]    |
[INFO] [stdout] 81 |     fn Productions(&self, i : uint) -> Result<(uint,Node),ParseError> {
[INFO] [stdout]    |                                                ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 56 | impl<'a, uint> Parser<'a> {
[INFO] [stdout]    |        ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `uint` in this scope
[INFO] [stdout]   --> src/gram_parser.rs:90:30
[INFO] [stdout]    |
[INFO] [stdout] 90 |     fn Production(&self, i : uint) -> Result<(uint,Node),ParseError> {
[INFO] [stdout]    |                              ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `uint` in this scope
[INFO] [stdout]   --> src/gram_parser.rs:90:47
[INFO] [stdout]    |
[INFO] [stdout] 90 |     fn Production(&self, i : uint) -> Result<(uint,Node),ParseError> {
[INFO] [stdout]    |                                               ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 56 | impl<'a, uint> Parser<'a> {
[INFO] [stdout]    |        ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `NONTERM` in this scope
[INFO] [stdout]   --> src/gram_parser.rs:91:44
[INFO] [stdout]    |
[INFO] [stdout] 91 |         let (a, nt) = try!(self.consume(i, NONTERM).and_then(|(a,tok)| {Ok((a,Node::new("NonTerm").addkid(Node::new(tok.lexeme))))}));
[INFO] [stdout]    |                                            ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]    |
[INFO] [stdout] 9  + use gram_parser::TokenType::NONTERM;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `ARROW` in this scope
[INFO] [stdout]   --> src/gram_parser.rs:92:43
[INFO] [stdout]    |
[INFO] [stdout] 92 |         let (b, _) = try!(self.consume(a, ARROW));
[INFO] [stdout]    |                                           ^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]    |
[INFO] [stdout] 9  + use gram_parser::TokenType::ARROW;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SEMI` in this scope
[INFO] [stdout]   --> src/gram_parser.rs:94:43
[INFO] [stdout]    |
[INFO] [stdout] 94 |         let (d, _) = try!(self.consume(c, SEMI));
[INFO] [stdout]    |                                           ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]    |
[INFO] [stdout] 9  + use gram_parser::TokenType::SEMI;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `uint` in this scope
[INFO] [stdout]   --> src/gram_parser.rs:99:24
[INFO] [stdout]    |
[INFO] [stdout] 99 |     fn Body(&self, i : uint) -> Result<(uint,Node),ParseError> {
[INFO] [stdout]    |                        ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `uint` in this scope
[INFO] [stdout]   --> src/gram_parser.rs:99:41
[INFO] [stdout]    |
[INFO] [stdout] 99 |     fn Body(&self, i : uint) -> Result<(uint,Node),ParseError> {
[INFO] [stdout]    |                                         ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 56 | impl<'a, uint> Parser<'a> {
[INFO] [stdout]    |        ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `uint` in this scope
[INFO] [stdout]    --> src/gram_parser.rs:106:25
[INFO] [stdout]     |
[INFO] [stdout] 106 |     fn Body_(&self, i : uint) -> Result<(uint,Node),ParseError> {
[INFO] [stdout]     |                         ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `uint` in this scope
[INFO] [stdout]    --> src/gram_parser.rs:106:42
[INFO] [stdout]     |
[INFO] [stdout] 106 |     fn Body_(&self, i : uint) -> Result<(uint,Node),ParseError> {
[INFO] [stdout]     |                                          ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 56  | impl<'a, uint> Parser<'a> {
[INFO] [stdout]     |        ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `VBAR` in this scope
[INFO] [stdout]    --> src/gram_parser.rs:108:47
[INFO] [stdout]     |
[INFO] [stdout] 108 |             let (j, _) = try!(self.consume(i, VBAR));
[INFO] [stdout]     |                                               ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]     |
[INFO] [stdout] 9   + use gram_parser::TokenType::VBAR;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `uint` in this scope
[INFO] [stdout]    --> src/gram_parser.rs:116:24
[INFO] [stdout]     |
[INFO] [stdout] 116 |     fn Rule(&self, i : uint) -> Result<(uint,Node),ParseError> {
[INFO] [stdout]     |                        ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `uint` in this scope
[INFO] [stdout]    --> src/gram_parser.rs:116:41
[INFO] [stdout]     |
[INFO] [stdout] 116 |     fn Rule(&self, i : uint) -> Result<(uint,Node),ParseError> {
[INFO] [stdout]     |                                         ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 56  | impl<'a, uint> Parser<'a> {
[INFO] [stdout]     |        ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `uint` in this scope
[INFO] [stdout]    --> src/gram_parser.rs:125:26
[INFO] [stdout]     |
[INFO] [stdout] 125 |     fn Symbol(&self, i : uint) -> Result<(uint,Node),ParseError> {
[INFO] [stdout]     |                          ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `uint` in this scope
[INFO] [stdout]    --> src/gram_parser.rs:125:43
[INFO] [stdout]     |
[INFO] [stdout] 125 |     fn Symbol(&self, i : uint) -> Result<(uint,Node),ParseError> {
[INFO] [stdout]     |                                           ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 56  | impl<'a, uint> Parser<'a> {
[INFO] [stdout]     |        ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `TERM` in this scope
[INFO] [stdout]    --> src/gram_parser.rs:126:32
[INFO] [stdout]     |
[INFO] [stdout] 126 |         return self.consume(i, TERM).and_then(|(j, tok)| {
[INFO] [stdout]     |                                ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]     |
[INFO] [stdout] 9   + use gram_parser::TokenType::TERM;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `NONTERM` in this scope
[INFO] [stdout]    --> src/gram_parser.rs:128:39
[INFO] [stdout]     |
[INFO] [stdout] 128 |                 }).or(self.consume(i, NONTERM).and_then(|(j, tok)| {
[INFO] [stdout]     |                                       ^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]     |
[INFO] [stdout] 9   + use gram_parser::TokenType::NONTERM;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `EMPTY` in this scope
[INFO] [stdout]    --> src/gram_parser.rs:130:39
[INFO] [stdout]     |
[INFO] [stdout] 130 |                 }).or(self.consume(i, EMPTY).and_then(|(j, tok)| {
[INFO] [stdout]     |                                       ^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 9   + use gram_parser::TokenType::EMPTY;
[INFO] [stdout]     |
[INFO] [stdout] 9   + use libc::EMPTY;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `uint` in this scope
[INFO] [stdout]    --> src/gram_parser.rs:135:33
[INFO] [stdout]     |
[INFO] [stdout] 135 |     fn epsilon<T, E>(&self, i : uint, n : T, f : |uint| -> Result<(uint,T),E>) -> Result<(uint,T),E> {
[INFO] [stdout]     |                                 ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `uint` in this scope
[INFO] [stdout]    --> src/gram_parser.rs:135:91
[INFO] [stdout]     |
[INFO] [stdout] 135 |     fn epsilon<T, E>(&self, i : uint, n : T, f : |uint| -> Result<(uint,T),E>) -> Result<(uint,T),E> {
[INFO] [stdout]     |                                                                                           ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 56  | impl<'a, uint> Parser<'a> {
[INFO] [stdout]     |        ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `uint` in this scope
[INFO] [stdout]    --> src/gram_parser.rs:139:34
[INFO] [stdout]     |
[INFO] [stdout] 139 |     fn consume<'a>(&'a self, i : uint, toktype : TokenType) -> Result<(uint, Token<'a>), ParseError> {
[INFO] [stdout]     |                                  ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `uint` in this scope
[INFO] [stdout]    --> src/gram_parser.rs:139:72
[INFO] [stdout]     |
[INFO] [stdout] 139 |     fn consume<'a>(&'a self, i : uint, toktype : TokenType) -> Result<(uint, Token<'a>), ParseError> {
[INFO] [stdout]     |                                                                        ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 56  | impl<'a, uint> Parser<'a> {
[INFO] [stdout]     |        ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `NoMoreInputExpected` in this scope
[INFO] [stdout]    --> src/gram_parser.rs:141:24
[INFO] [stdout]     |
[INFO] [stdout] 141 |             return Err(NoMoreInputExpected(toktype));
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 9   + use gram_parser::ParseError::NoMoreInputExpected;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ExpectedButGot` in this scope
[INFO] [stdout]    --> src/gram_parser.rs:147:24
[INFO] [stdout]     |
[INFO] [stdout] 147 |                    Err(ExpectedButGot(toktype, tok.token))
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 9   + use gram_parser::ParseError::ExpectedButGot;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `uint` in this scope
[INFO] [stdout]   --> src/gram_lexer.rs:22:14
[INFO] [stdout]    |
[INFO] [stdout] 22 |     BadState(uint),
[INFO] [stdout]    |              ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `uint` in this scope
[INFO] [stdout]   --> src/gram_lexer.rs:35:10
[INFO] [stdout]    |
[INFO] [stdout] 35 |     tc : uint,
[INFO] [stdout]    |          ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `UnexpectedCharacter` in this scope
[INFO] [stdout]   --> src/gram_lexer.rs:94:41
[INFO] [stdout]    |
[INFO] [stdout] 94 |                         return Some(Err(UnexpectedCharacter(ch)))
[INFO] [stdout]    |                                         ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]    |
[INFO] [stdout] 6  + use gram_lexer::LexError::UnexpectedCharacter;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SEMI` in this scope
[INFO] [stdout]    --> src/gram_lexer.rs:106:48
[INFO] [stdout]     |
[INFO] [stdout] 106 |                     return Some(Ok(Token{token:SEMI,lexeme:text.slice(start_tc,tc)}))
[INFO] [stdout]     |                                                ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]     |
[INFO] [stdout] 6   + use gram_lexer::TokenType::SEMI;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `UnexpectedCharacter` in this scope
[INFO] [stdout]    --> src/gram_lexer.rs:111:41
[INFO] [stdout]     |
[INFO] [stdout] 111 |                         return Some(Err(UnexpectedCharacter(ch)))
[INFO] [stdout]     |                                         ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 6   + use gram_lexer::LexError::UnexpectedCharacter;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `ARROW` in this scope
[INFO] [stdout]    --> src/gram_lexer.rs:115:48
[INFO] [stdout]     |
[INFO] [stdout] 115 |                     return Some(Ok(Token{token:ARROW,lexeme:text.slice(start_tc,tc)}))
[INFO] [stdout]     |                                                ^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]     |
[INFO] [stdout] 6   + use gram_lexer::TokenType::ARROW;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `EMPTY` in this scope
[INFO] [stdout]    --> src/gram_lexer.rs:118:48
[INFO] [stdout]     |
[INFO] [stdout] 118 |                     return Some(Ok(Token{token:EMPTY,lexeme:text.slice(start_tc,tc)}))
[INFO] [stdout]     |                                                ^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 6   + use gram_lexer::TokenType::EMPTY;
[INFO] [stdout]     |
[INFO] [stdout] 6   + use libc::EMPTY;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `NONTERM` in this scope
[INFO] [stdout]    --> src/gram_lexer.rs:126:52
[INFO] [stdout]     |
[INFO] [stdout] 126 |                         return Some(Ok(Token{token:NONTERM,lexeme:text.slice(start_tc,tc)}))
[INFO] [stdout]     |                                                    ^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]     |
[INFO] [stdout] 6   + use gram_lexer::TokenType::NONTERM;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `NONTERM` in this scope
[INFO] [stdout]    --> src/gram_lexer.rs:133:52
[INFO] [stdout]     |
[INFO] [stdout] 133 |                         return Some(Ok(Token{token:NONTERM,lexeme:text.slice(start_tc,tc)}))
[INFO] [stdout]     |                                                    ^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]     |
[INFO] [stdout] 6   + use gram_lexer::TokenType::NONTERM;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `VBAR` in this scope
[INFO] [stdout]    --> src/gram_lexer.rs:137:48
[INFO] [stdout]     |
[INFO] [stdout] 137 |                     return Some(Ok(Token{token:VBAR,lexeme:text.slice(start_tc,tc)}))
[INFO] [stdout]     |                                                ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]     |
[INFO] [stdout] 6   + use gram_lexer::TokenType::VBAR;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `TERM` in this scope
[INFO] [stdout]    --> src/gram_lexer.rs:145:52
[INFO] [stdout]     |
[INFO] [stdout] 145 |                         return Some(Ok(Token{token:TERM,lexeme:text.slice(start_tc,tc)}))
[INFO] [stdout]     |                                                    ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]     |
[INFO] [stdout] 6   + use gram_lexer::TokenType::TERM;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `BadState` in this scope
[INFO] [stdout]    --> src/gram_lexer.rs:149:37
[INFO] [stdout]     |
[INFO] [stdout] 149 |                     return Some(Err(BadState(state)))
[INFO] [stdout]     |                                     ^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 6   + use gram_lexer::LexError::BadState;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `Index` in this scope
[INFO] [stdout]   --> src/slr.rs:19:25
[INFO] [stdout]    |
[INFO] [stdout] 19 | fn find<T: Ord + Eq, S: Index<uint, T> + Collection>(items : &S, item : &T) -> (uint,bool) {
[INFO] [stdout]    |                         ^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]    |
[INFO] [stdout] 8  + use std::ops::Index;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `uint` in this scope
[INFO] [stdout]   --> src/slr.rs:19:31
[INFO] [stdout]    |
[INFO] [stdout] 19 | fn find<T: Ord + Eq, S: Index<uint, T> + Collection>(items : &S, item : &T) -> (uint,bool) {
[INFO] [stdout]    |                               ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `Collection` in this scope
[INFO] [stdout]   --> src/slr.rs:19:42
[INFO] [stdout]    |
[INFO] [stdout] 19 | fn find<T: Ord + Eq, S: Index<uint, T> + Collection>(items : &S, item : &T) -> (uint,bool) {
[INFO] [stdout]    |                                          ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `uint` in this scope
[INFO] [stdout]   --> src/slr.rs:19:81
[INFO] [stdout]    |
[INFO] [stdout] 19 | fn find<T: Ord + Eq, S: Index<uint, T> + Collection>(items : &S, item : &T) -> (uint,bool) {
[INFO] [stdout]    |                                                                                 ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `int` in this scope
[INFO] [stdout]   --> src/slr.rs:20:17
[INFO] [stdout]    |
[INFO] [stdout] 20 |     let mut l : int = 0;
[INFO] [stdout]    |                 ^^^
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 not found in this scope
[INFO] [stdout]    |                 help: perhaps you intended to use this type: `i32`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `int` in this scope
[INFO] [stdout]   --> src/slr.rs:21:17
[INFO] [stdout]    |
[INFO] [stdout] 21 |     let mut r : int = (items.len() as int) - 1;
[INFO] [stdout]    |                 ^^^
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 not found in this scope
[INFO] [stdout]    |                 help: perhaps you intended to use this type: `i32`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `int` in this scope
[INFO] [stdout]   --> src/slr.rs:21:39
[INFO] [stdout]    |
[INFO] [stdout] 21 |     let mut r : int = (items.len() as int) - 1;
[INFO] [stdout]    |                                       ^^^
[INFO] [stdout]    |                                       |
[INFO] [stdout]    |                                       not found in this scope
[INFO] [stdout]    |                                       help: perhaps you intended to use this type: `i32`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `int` in this scope
[INFO] [stdout]   --> src/slr.rs:22:17
[INFO] [stdout]    |
[INFO] [stdout] 22 |     let mut m : int;
[INFO] [stdout]    |                 ^^^
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 not found in this scope
[INFO] [stdout]    |                 help: perhaps you intended to use this type: `i32`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `uint` in this scope
[INFO] [stdout]   --> src/slr.rs:25:34
[INFO] [stdout]    |
[INFO] [stdout] 25 |         if item < &(*items)[m as uint] {
[INFO] [stdout]    |                                  ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `uint` in this scope
[INFO] [stdout]   --> src/slr.rs:27:42
[INFO] [stdout]    |
[INFO] [stdout] 27 |         } else if item == &(*items)[m as uint] {
[INFO] [stdout]    |                                          ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `uint` in this scope
[INFO] [stdout]   --> src/slr.rs:30:57
[INFO] [stdout]    |
[INFO] [stdout] 30 |                 if j == 0 || item != &(*items)[(j-1) as uint] {
[INFO] [stdout]    |                                                         ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `uint` in this scope
[INFO] [stdout]   --> src/slr.rs:31:34
[INFO] [stdout]    |
[INFO] [stdout] 31 |                     return (j as uint, true)
[INFO] [stdout]    |                                  ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `uint` in this scope
[INFO] [stdout]   --> src/slr.rs:39:18
[INFO] [stdout]    |
[INFO] [stdout] 39 |     return (l as uint, false)
[INFO] [stdout]    |                  ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Items` in module `slice`
[INFO] [stdout]   --> src/slr.rs:66:41
[INFO] [stdout]    |
[INFO] [stdout] 66 |     pub fn iter<'b>(&'b self) -> slice::Items<'b, T> {
[INFO] [stdout]    |                                         ^^^^^ not found in `slice`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `MutItems` in module `slice`
[INFO] [stdout]   --> src/slr.rs:70:49
[INFO] [stdout]    |
[INFO] [stdout] 70 |     pub fn mut_iter<'b>(&'b mut self) -> slice::MutItems<'b, T> {
[INFO] [stdout]    |                                                 ^^^^^^^^ not found in `slice`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `MoveItems` in module `vec`
[INFO] [stdout]   --> src/slr.rs:74:36
[INFO] [stdout]    |
[INFO] [stdout] 74 |     pub fn into_iter(self) -> vec::MoveItems<T> {
[INFO] [stdout]    |                                    ^^^^^^^^^ not found in `vec`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `uint` in this scope
[INFO] [stdout]    --> src/slr.rs:101:30
[INFO] [stdout]     |
[INFO] [stdout] 101 |     fn insert(&mut self, i : uint, item : T) {
[INFO] [stdout]     |                              ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `Collection` in this scope
[INFO] [stdout]    --> src/slr.rs:111:22
[INFO] [stdout]     |
[INFO] [stdout] 111 | impl<T: Ord + Clone> Collection for SortedSet<T> {
[INFO] [stdout]     |                      ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `uint` in this scope
[INFO] [stdout]    --> src/slr.rs:112:22
[INFO] [stdout]     |
[INFO] [stdout] 112 |     fn len(&self) -> uint {
[INFO] [stdout]     |                      ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Ordering` in this scope
[INFO] [stdout]    --> src/slr.rs:139:60
[INFO] [stdout]     |
[INFO] [stdout] 139 |     fn partial_cmp(&self, other : &SortedSet<T>) -> Option<Ordering> {
[INFO] [stdout]     |                                                            ^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these enums
[INFO] [stdout]     |
[INFO] [stdout] 8   + use std::sync::atomic::Ordering;
[INFO] [stdout]     |
[INFO] [stdout] 8   + use slr::cmp::Ordering;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Ordering` in this scope
[INFO] [stdout]    --> src/slr.rs:145:45
[INFO] [stdout]     |
[INFO] [stdout] 145 |     fn cmp(&self, other : &SortedSet<T>) -> Ordering {
[INFO] [stdout]     |                                             ^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these enums
[INFO] [stdout]     |
[INFO] [stdout] 8   + use std::sync::atomic::Ordering;
[INFO] [stdout]     |
[INFO] [stdout] 8   + use slr::cmp::Ordering;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `uint` in this scope
[INFO] [stdout]    --> src/slr.rs:179:56
[INFO] [stdout]     |
[INFO] [stdout] 179 |     pub fn index_of(&self, symbol : &Symbol) -> Option<uint> {
[INFO] [stdout]     |                                                        ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 178 | impl<uint> Production {
[INFO] [stdout]     |     ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `uint` in this scope
[INFO] [stdout]    --> src/slr.rs:192:11
[INFO] [stdout]     |
[INFO] [stdout] 192 |     dot : uint
[INFO] [stdout]     |           ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Ordering` in this scope
[INFO] [stdout]    --> src/slr.rs:233:56
[INFO] [stdout]     |
[INFO] [stdout] 233 |     fn partial_cmp(&self, other : &Item<'a>) -> Option<Ordering> {
[INFO] [stdout]     |                                                        ^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these enums
[INFO] [stdout]     |
[INFO] [stdout] 8   + use std::sync::atomic::Ordering;
[INFO] [stdout]     |
[INFO] [stdout] 8   + use slr::cmp::Ordering;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Ordering` in this scope
[INFO] [stdout]    --> src/slr.rs:239:41
[INFO] [stdout]     |
[INFO] [stdout] 239 |     fn cmp(&self, other : &Item<'a>) -> Ordering {
[INFO] [stdout]     |                                         ^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these enums
[INFO] [stdout]     |
[INFO] [stdout] 8   + use std::sync::atomic::Ordering;
[INFO] [stdout]     |
[INFO] [stdout] 8   + use slr::cmp::Ordering;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `NonTerm` in this scope
[INFO] [stdout]    --> src/slr.rs:267:24
[INFO] [stdout]     |
[INFO] [stdout] 267 |         symbols.insert(NonTerm(start.clone()));
[INFO] [stdout]     |                        ^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 8   + use slr::Symbol::NonTerm;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Term` in this scope
[INFO] [stdout]    --> src/slr.rs:290:13
[INFO] [stdout]     |
[INFO] [stdout] 290 |             Term(name.clone())
[INFO] [stdout]     |             ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 8   + use slr::Symbol::Term;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `NonTerm` in this scope
[INFO] [stdout]    --> src/slr.rs:292:13
[INFO] [stdout]     |
[INFO] [stdout] 292 |             NonTerm(name.clone())
[INFO] [stdout]     |             ^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 8   + use slr::Symbol::NonTerm;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Term` in this scope
[INFO] [stdout]    --> src/slr.rs:300:13
[INFO] [stdout]     |
[INFO] [stdout] 300 |             Term(s) => { s }
[INFO] [stdout]     |             ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 8   + use slr::Symbol::Term;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `NonTerm` in this scope
[INFO] [stdout]    --> src/slr.rs:301:13
[INFO] [stdout]     |
[INFO] [stdout] 301 |             NonTerm(s) => { s }
[INFO] [stdout]     |             ^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 8   + use slr::Symbol::NonTerm;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Term` in this scope
[INFO] [stdout]    --> src/slr.rs:320:13
[INFO] [stdout]     |
[INFO] [stdout] 320 |             Term(_) => {
[INFO] [stdout]     |             ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 8   + use slr::Symbol::Term;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `NonTerm` in this scope
[INFO] [stdout]    --> src/slr.rs:323:13
[INFO] [stdout]     |
[INFO] [stdout] 323 |             NonTerm(ref name) => {
[INFO] [stdout]     |             ^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 8   + use slr::Symbol::NonTerm;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `EmptyString` in this scope
[INFO] [stdout]    --> src/slr.rs:332:74
[INFO] [stdout]     |
[INFO] [stdout] 332 |                         symbols.addall(first.minus(&SortedSet::singleton(EmptyString)));
[INFO] [stdout]     |                                                                          ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]     |
[INFO] [stdout] 8   + use slr::Symbol::EmptyString;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `EmptyString` in this scope
[INFO] [stdout]    --> src/slr.rs:333:44
[INFO] [stdout]     |
[INFO] [stdout] 333 |                         if first.contains(&EmptyString) {
[INFO] [stdout]     |                                            ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]     |
[INFO] [stdout] 8   + use slr::Symbol::EmptyString;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `EmptyString` in this scope
[INFO] [stdout]    --> src/slr.rs:339:37
[INFO] [stdout]     |
[INFO] [stdout] 339 |                         symbols.add(EmptyString)
[INFO] [stdout]     |                                     ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]     |
[INFO] [stdout] 8   + use slr::Symbol::EmptyString;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `EmptyString` in this scope
[INFO] [stdout]    --> src/slr.rs:355:62
[INFO] [stdout]     |
[INFO] [stdout] 355 |             symbols.addall(first.minus(&SortedSet::singleton(EmptyString)));
[INFO] [stdout]     |                                                              ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]     |
[INFO] [stdout] 8   + use slr::Symbol::EmptyString;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `EmptyString` in this scope
[INFO] [stdout]    --> src/slr.rs:356:32
[INFO] [stdout]     |
[INFO] [stdout] 356 |             if first.contains(&EmptyString) {
[INFO] [stdout]     |                                ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]     |
[INFO] [stdout] 8   + use slr::Symbol::EmptyString;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `EmptyString` in this scope
[INFO] [stdout]    --> src/slr.rs:360:21
[INFO] [stdout]     |
[INFO] [stdout] 360 |         symbols.add(EmptyString);
[INFO] [stdout]     |                     ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]     |
[INFO] [stdout] 8   + use slr::Symbol::EmptyString;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `NonTerm` in this scope
[INFO] [stdout]    --> src/slr.rs:369:13
[INFO] [stdout]     |
[INFO] [stdout] 369 |             NonTerm(ref name) => {
[INFO] [stdout]     |             ^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 8   + use slr::Symbol::NonTerm;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `uint` in this scope
[INFO] [stdout]    --> src/slr.rs:371:29
[INFO] [stdout]     |
[INFO] [stdout] 371 |                     let i : uint = match p.index_of(&nt) {
[INFO] [stdout]     |                             ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `EmptyString` in this scope
[INFO] [stdout]    --> src/slr.rs:377:44
[INFO] [stdout]     |
[INFO] [stdout] 377 |                         if first.contains(&EmptyString) {
[INFO] [stdout]     |                                            ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]     |
[INFO] [stdout] 8   + use slr::Symbol::EmptyString;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `EmptyString` in this scope
[INFO] [stdout]    --> src/slr.rs:378:71
[INFO] [stdout]     |
[INFO] [stdout] 378 | ...                   first = first.minus(&SortedSet::singleton(EmptyString));
[INFO] [stdout]     |                                                                 ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]     |
[INFO] [stdout] 8   + use slr::Symbol::EmptyString;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `NonTerm` in this scope
[INFO] [stdout]    --> src/slr.rs:380:60
[INFO] [stdout]     |
[INFO] [stdout] 380 | ...                   symbols.addall(self.FOLLOW(NonTerm(p.nt.clone())));
[INFO] [stdout]     |                                                  ^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 8   + use slr::Symbol::NonTerm;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `NonTerm` in this scope
[INFO] [stdout]    --> src/slr.rs:385:52
[INFO] [stdout]     |
[INFO] [stdout] 385 |                         symbols.addall(self.FOLLOW(NonTerm(p.nt.clone())));
[INFO] [stdout]     |                                                    ^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 8   + use slr::Symbol::NonTerm;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `uint` in this scope
[INFO] [stdout]    --> src/slr.rs:398:54
[INFO] [stdout]     |
[INFO] [stdout] 398 |         let mut states : TreeMap<SortedSet<Item<'a>>,uint> = TreeMap::new();
[INFO] [stdout]     |                                                      ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 263 | impl<uint> Grammar {
[INFO] [stdout]     |     ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `uint` in this scope
[INFO] [stdout]    --> src/slr.rs:400:27
[INFO] [stdout]     |
[INFO] [stdout] 400 |         let mut next_id : uint = 0;
[INFO] [stdout]     |                           ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Term` in this scope
[INFO] [stdout]    --> src/slr.rs:460:25
[INFO] [stdout]     |
[INFO] [stdout] 460 |                         Term(_) => {
[INFO] [stdout]     |                         ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 8   + use slr::Symbol::Term;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `NonTerm` in this scope
[INFO] [stdout]    --> src/slr.rs:462:27
[INFO] [stdout]     |
[INFO] [stdout] 462 |                         } NonTerm(ref name) => {
[INFO] [stdout]     |                           ^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 8   + use slr::Symbol::NonTerm;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `uint` in this scope
[INFO] [stdout]    --> src/slr.rs:498:10
[INFO] [stdout]     |
[INFO] [stdout] 498 |     id : uint,
[INFO] [stdout]     |          ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `uint` in this scope
[INFO] [stdout]    --> src/slr.rs:500:29
[INFO] [stdout]     |
[INFO] [stdout] 500 |     moves : HashMap<Symbol, uint>
[INFO] [stdout]     |                             ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 497 | pub struct SLRState<'a, uint> {
[INFO] [stdout]     |                       ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `uint` in this scope
[INFO] [stdout]    --> src/slr.rs:510:10
[INFO] [stdout]     |
[INFO] [stdout] 510 |     Goto(uint),
[INFO] [stdout]     |          ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `uint` in this scope
[INFO] [stdout]    --> src/slr.rs:511:11
[INFO] [stdout]     |
[INFO] [stdout] 511 |     Shift(uint),
[INFO] [stdout]     |           ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `uint` in this scope
[INFO] [stdout]    --> src/slr.rs:519:24
[INFO] [stdout]     |
[INFO] [stdout] 519 |     actions : HashMap<(uint,Symbol),LRAction<'a>>,
[INFO] [stdout]     |                        ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 518 | pub struct SLRTable<'a, uint> {
[INFO] [stdout]     |                       ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Term` in this scope
[INFO] [stdout]    --> src/slr.rs:532:22
[INFO] [stdout]     |
[INFO] [stdout] 532 |                     &Term(_) => {
[INFO] [stdout]     |                      ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 8   + use slr::Symbol::Term;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Shift` in this scope
[INFO] [stdout]    --> src/slr.rs:533:63
[INFO] [stdout]     |
[INFO] [stdout] 533 |                         table.actions.insert((i,sym.clone()), Shift(*target));
[INFO] [stdout]     |                                                               ^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 8   + use slr::LRAction::Shift;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `NonTerm` in this scope
[INFO] [stdout]    --> src/slr.rs:535:22
[INFO] [stdout]     |
[INFO] [stdout] 535 |                     &NonTerm(_) => {
[INFO] [stdout]     |                      ^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 8   + use slr::Symbol::NonTerm;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Goto` in this scope
[INFO] [stdout]    --> src/slr.rs:536:63
[INFO] [stdout]     |
[INFO] [stdout] 536 |                         table.actions.insert((i,sym.clone()), Goto(*target));
[INFO] [stdout]     |                                                               ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 8   + use slr::LRAction::Goto;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `NonTerm` in this scope
[INFO] [stdout]    --> src/slr.rs:542:52
[INFO] [stdout]     |
[INFO] [stdout] 542 |                     for sym in self.grammar.FOLLOW(NonTerm(item.production.nt.clone())).iter() {
[INFO] [stdout]     |                                                    ^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 8   + use slr::Symbol::NonTerm;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Reduce` in this scope
[INFO] [stdout]    --> src/slr.rs:543:63
[INFO] [stdout]     |
[INFO] [stdout] 543 |                         table.actions.insert((i,sym.clone()), Reduce(item.production));
[INFO] [stdout]     |                                                               ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 8   + use slr::LRAction::Reduce;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `usage` in crate `getopts`
[INFO] [stdout]   --> src/main.rs:32:29
[INFO] [stdout]    |
[INFO] [stdout] 32 |         log!("{}", getopts::usage(short_usage, self.options));
[INFO] [stdout]    |                             ^^^^^ not found in `getopts`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `Show` in module `std::fmt`
[INFO] [stdout]   --> src/main.rs:36:38
[INFO] [stdout]    |
[INFO] [stdout] 36 |     fn unwrap_or_die<T, E: std::fmt::Show>(&self, res : Result<T, E>) -> T {
[INFO] [stdout]    |                                      ^^^^ not found in `std::fmt`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `File` in `io`
[INFO] [stdout]   --> src/main.rs:50:32
[INFO] [stdout]    |
[INFO] [stdout] 50 |         self.unwrap_or_die(io::File::open(&Path::new(path))
[INFO] [stdout]    |                                ^^^^ could not find `File` in `io`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 12 + use std::fs::File;
[INFO] [stdout]    |
[INFO] [stdout] help: if you import `File`, refer to it directly
[INFO] [stdout]    |
[INFO] [stdout] 50 -         self.unwrap_or_die(io::File::open(&Path::new(path))
[INFO] [stdout] 50 +         self.unwrap_or_die(File::open(&Path::new(path))
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path`
[INFO] [stdout]   --> src/main.rs:50:44
[INFO] [stdout]    |
[INFO] [stdout] 50 |         self.unwrap_or_die(io::File::open(&Path::new(path))
[INFO] [stdout]    |                                            ^^^^ use of undeclared type `Path`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 12 + use std::path::Path;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `IoError` in module `io`
[INFO] [stdout]   --> src/main.rs:52:60
[INFO] [stdout]    |
[INFO] [stdout] 52 |           .and_then(|bytes : Vec<u8>| -> Result<String,io::IoError> {
[INFO] [stdout]    |                                                            ^^^^^^^ help: a struct with a similar name exists: `Error`
[INFO] [stdout]   --> /rustc/a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399/library/std/src/io/error.rs:65:1
[INFO] [stdout]    |
[INFO] [stdout]    = note: similarly named struct `Error` defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `optopt` in crate `getopts`
[INFO] [stdout]   --> src/main.rs:60:18
[INFO] [stdout]    |
[INFO] [stdout] 60 |         getopts::optopt("g", "grammar", "the grammar to read", "<path>"),
[INFO] [stdout]    |                  ^^^^^^ not found in `getopts`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `optflag` in crate `getopts`
[INFO] [stdout]   --> src/main.rs:61:18
[INFO] [stdout]    |
[INFO] [stdout] 61 |         getopts::optflag("h", "help", "print this help menu")
[INFO] [stdout]    |                  ^^^^^^^ not found in `getopts`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `args` in module `os`
[INFO] [stdout]   --> src/main.rs:65:33
[INFO] [stdout]    |
[INFO] [stdout] 65 |     let args: Vec<String> = os::args();
[INFO] [stdout]    |                                 ^^^^ not found in `os`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 12 + use std::env::args;
[INFO] [stdout]    |
[INFO] [stdout] help: if you import `args`, refer to it directly
[INFO] [stdout]    |
[INFO] [stdout] 65 -     let args: Vec<String> = os::args();
[INFO] [stdout] 65 +     let args: Vec<String> = args();
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `getopts` in crate `getopts`
[INFO] [stdout]   --> src/main.rs:67:43
[INFO] [stdout]    |
[INFO] [stdout] 67 |     let opts = cfg.unwrap_or_die(getopts::getopts(args.slice(1, args.len()), cfg.options));
[INFO] [stdout]    |                                           ^^^^^^^ not found in `getopts`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0603]: unit variant `Less` is private
[INFO] [stdout]    --> src/slr.rs:147:25
[INFO] [stdout]     |
[INFO] [stdout] 147 |             return cmp::Less;
[INFO] [stdout]     |                         ^^^^ private unit variant
[INFO] [stdout]     |
[INFO] [stdout] note: the unit variant `Less` is defined here
[INFO] [stdout]    --> /rustc/a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399/library/core/src/cmp.rs:31:5
[INFO] [stdout] help: consider importing this unit variant instead
[INFO] [stdout]     |
[INFO] [stdout] 147 -             return cmp::Less;
[INFO] [stdout] 147 +             return slr::cmp::Ordering::Less;
[INFO] [stdout]     |
[INFO] [stdout] help: import `Less` directly
[INFO] [stdout]     |
[INFO] [stdout] 147 -             return cmp::Less;
[INFO] [stdout] 147 +             return core::cmp::Ordering::Less::Less;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0603]: unit variant `Greater` is private
[INFO] [stdout]    --> src/slr.rs:149:25
[INFO] [stdout]     |
[INFO] [stdout] 149 |             return cmp::Greater;
[INFO] [stdout]     |                         ^^^^^^^ private unit variant
[INFO] [stdout]     |
[INFO] [stdout] note: the unit variant `Greater` is defined here
[INFO] [stdout]    --> /rustc/a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399/library/core/src/cmp.rs:31:5
[INFO] [stdout] help: consider importing this unit variant instead
[INFO] [stdout]     |
[INFO] [stdout] 149 -             return cmp::Greater;
[INFO] [stdout] 149 +             return slr::cmp::Ordering::Greater;
[INFO] [stdout]     |
[INFO] [stdout] help: import `Greater` directly
[INFO] [stdout]     |
[INFO] [stdout] 149 -             return cmp::Greater;
[INFO] [stdout] 149 +             return core::cmp::Ordering::Greater::Greater;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0603]: unit variant `Less` is private
[INFO] [stdout]    --> src/slr.rs:153:29
[INFO] [stdout]     |
[INFO] [stdout] 153 |                 return cmp::Less;
[INFO] [stdout]     |                             ^^^^ private unit variant
[INFO] [stdout]     |
[INFO] [stdout] note: the unit variant `Less` is defined here
[INFO] [stdout]    --> /rustc/a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399/library/core/src/cmp.rs:31:5
[INFO] [stdout] help: consider importing this unit variant instead
[INFO] [stdout]     |
[INFO] [stdout] 153 -                 return cmp::Less;
[INFO] [stdout] 153 +                 return slr::cmp::Ordering::Less;
[INFO] [stdout]     |
[INFO] [stdout] help: import `Less` directly
[INFO] [stdout]     |
[INFO] [stdout] 153 -                 return cmp::Less;
[INFO] [stdout] 153 +                 return core::cmp::Ordering::Less::Less;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0603]: unit variant `Greater` is private
[INFO] [stdout]    --> src/slr.rs:155:29
[INFO] [stdout]     |
[INFO] [stdout] 155 |                 return cmp::Greater;
[INFO] [stdout]     |                             ^^^^^^^ private unit variant
[INFO] [stdout]     |
[INFO] [stdout] note: the unit variant `Greater` is defined here
[INFO] [stdout]    --> /rustc/a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399/library/core/src/cmp.rs:31:5
[INFO] [stdout] help: consider importing this unit variant instead
[INFO] [stdout]     |
[INFO] [stdout] 155 -                 return cmp::Greater;
[INFO] [stdout] 155 +                 return slr::cmp::Ordering::Greater;
[INFO] [stdout]     |
[INFO] [stdout] help: import `Greater` directly
[INFO] [stdout]     |
[INFO] [stdout] 155 -                 return cmp::Greater;
[INFO] [stdout] 155 +                 return core::cmp::Ordering::Greater::Greater;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0603]: unit variant `Equal` is private
[INFO] [stdout]    --> src/slr.rs:158:21
[INFO] [stdout]     |
[INFO] [stdout] 158 |         return cmp::Equal;
[INFO] [stdout]     |                     ^^^^^ private unit variant
[INFO] [stdout]     |
[INFO] [stdout] note: the unit variant `Equal` is defined here
[INFO] [stdout]    --> /rustc/a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399/library/core/src/cmp.rs:31:5
[INFO] [stdout] help: consider importing this unit variant instead
[INFO] [stdout]     |
[INFO] [stdout] 158 -         return cmp::Equal;
[INFO] [stdout] 158 +         return slr::cmp::Ordering::Equal;
[INFO] [stdout]     |
[INFO] [stdout] help: import `Equal` directly
[INFO] [stdout]     |
[INFO] [stdout] 158 -         return cmp::Equal;
[INFO] [stdout] 158 +         return core::cmp::Ordering::Equal::Equal;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0603]: unit variant `Less` is private
[INFO] [stdout]    --> src/slr.rs:241:18
[INFO] [stdout]     |
[INFO] [stdout] 241 |             cmp::Less
[INFO] [stdout]     |                  ^^^^ private unit variant
[INFO] [stdout]     |
[INFO] [stdout] note: the unit variant `Less` is defined here
[INFO] [stdout]    --> /rustc/a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399/library/core/src/cmp.rs:31:5
[INFO] [stdout] help: consider importing this unit variant instead
[INFO] [stdout]     |
[INFO] [stdout] 241 -             cmp::Less
[INFO] [stdout] 241 +             slr::cmp::Ordering::Less
[INFO] [stdout]     |
[INFO] [stdout] help: import `Less` directly
[INFO] [stdout]     |
[INFO] [stdout] 241 -             cmp::Less
[INFO] [stdout] 241 +             core::cmp::Ordering::Less::Less
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0603]: unit variant `Less` is private
[INFO] [stdout]    --> src/slr.rs:244:22
[INFO] [stdout]     |
[INFO] [stdout] 244 |                 cmp::Less
[INFO] [stdout]     |                      ^^^^ private unit variant
[INFO] [stdout]     |
[INFO] [stdout] note: the unit variant `Less` is defined here
[INFO] [stdout]    --> /rustc/a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399/library/core/src/cmp.rs:31:5
[INFO] [stdout] help: consider importing this unit variant instead
[INFO] [stdout]     |
[INFO] [stdout] 244 -                 cmp::Less
[INFO] [stdout] 244 +                 slr::cmp::Ordering::Less
[INFO] [stdout]     |
[INFO] [stdout] help: import `Less` directly
[INFO] [stdout]     |
[INFO] [stdout] 244 -                 cmp::Less
[INFO] [stdout] 244 +                 core::cmp::Ordering::Less::Less
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0603]: unit variant `Equal` is private
[INFO] [stdout]    --> src/slr.rs:246:22
[INFO] [stdout]     |
[INFO] [stdout] 246 |                 cmp::Equal
[INFO] [stdout]     |                      ^^^^^ private unit variant
[INFO] [stdout]     |
[INFO] [stdout] note: the unit variant `Equal` is defined here
[INFO] [stdout]    --> /rustc/a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399/library/core/src/cmp.rs:31:5
[INFO] [stdout] help: consider importing this unit variant instead
[INFO] [stdout]     |
[INFO] [stdout] 246 -                 cmp::Equal
[INFO] [stdout] 246 +                 slr::cmp::Ordering::Equal
[INFO] [stdout]     |
[INFO] [stdout] help: import `Equal` directly
[INFO] [stdout]     |
[INFO] [stdout] 246 -                 cmp::Equal
[INFO] [stdout] 246 +                 core::cmp::Ordering::Equal::Equal
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0603]: unit variant `Greater` is private
[INFO] [stdout]    --> src/slr.rs:248:22
[INFO] [stdout]     |
[INFO] [stdout] 248 |                 cmp::Greater
[INFO] [stdout]     |                      ^^^^^^^ private unit variant
[INFO] [stdout]     |
[INFO] [stdout] note: the unit variant `Greater` is defined here
[INFO] [stdout]    --> /rustc/a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399/library/core/src/cmp.rs:31:5
[INFO] [stdout] help: consider importing this unit variant instead
[INFO] [stdout]     |
[INFO] [stdout] 248 -                 cmp::Greater
[INFO] [stdout] 248 +                 slr::cmp::Ordering::Greater
[INFO] [stdout]     |
[INFO] [stdout] help: import `Greater` directly
[INFO] [stdout]     |
[INFO] [stdout] 248 -                 cmp::Greater
[INFO] [stdout] 248 +                 core::cmp::Ordering::Greater::Greater
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0603]: unit variant `Greater` is private
[INFO] [stdout]    --> src/slr.rs:251:18
[INFO] [stdout]     |
[INFO] [stdout] 251 |             cmp::Greater
[INFO] [stdout]     |                  ^^^^^^^ private unit variant
[INFO] [stdout]     |
[INFO] [stdout] note: the unit variant `Greater` is defined here
[INFO] [stdout]    --> /rustc/a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399/library/core/src/cmp.rs:31:5
[INFO] [stdout] help: consider importing this unit variant instead
[INFO] [stdout]     |
[INFO] [stdout] 251 -             cmp::Greater
[INFO] [stdout] 251 +             slr::cmp::Ordering::Greater
[INFO] [stdout]     |
[INFO] [stdout] help: import `Greater` directly
[INFO] [stdout]     |
[INFO] [stdout] 251 -             cmp::Greater
[INFO] [stdout] 251 +             core::cmp::Ordering::Greater::Greater
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0603]: struct `OptGroup` is private
[INFO] [stdout]   --> src/main.rs:27:47
[INFO] [stdout]    |
[INFO] [stdout] 27 | struct MainConfig<'a>{options : &'a [getopts::OptGroup]}
[INFO] [stdout]    |                                               ^^^^^^^^ private struct
[INFO] [stdout]    |
[INFO] [stdout] note: the struct `OptGroup` is defined here
[INFO] [stdout]   --> /rust/deps/getopts-0.2.23/src/lib.rs:761:1
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/gram_parser.rs:73:25
[INFO] [stdout]    |
[INFO] [stdout] 73 |         let (i, node) = try!(self.Productions(0));
[INFO] [stdout]    |                         ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/gram_parser.rs:83:29
[INFO] [stdout]    |
[INFO] [stdout] 83 |             let (a, prod) = try!(self.Production(i));
[INFO] [stdout]    |                             ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/gram_parser.rs:84:29
[INFO] [stdout]    |
[INFO] [stdout] 84 |             let (b, list) = try!(self.Productions(a));
[INFO] [stdout]    |                             ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/gram_parser.rs:91:23
[INFO] [stdout]    |
[INFO] [stdout] 91 |         let (a, nt) = try!(self.consume(i, NONTERM).and_then(|(a,tok)| {Ok((a,Node::new("NonTerm").addkid(Node::new(tok.lexeme))))}));
[INFO] [stdout]    |                       ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/gram_parser.rs:92:22
[INFO] [stdout]    |
[INFO] [stdout] 92 |         let (b, _) = try!(self.consume(a, ARROW));
[INFO] [stdout]    |                      ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/gram_parser.rs:93:25
[INFO] [stdout]    |
[INFO] [stdout] 93 |         let (c, body) = try!(self.Body(b));
[INFO] [stdout]    |                         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/gram_parser.rs:94:22
[INFO] [stdout]    |
[INFO] [stdout] 94 |         let (d, _) = try!(self.consume(c, SEMI));
[INFO] [stdout]    |                      ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/gram_parser.rs:100:25
[INFO] [stdout]     |
[INFO] [stdout] 100 |         let (j, rule) = try!(self.Rule(i));
[INFO] [stdout]     |                         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/gram_parser.rs:101:25
[INFO] [stdout]     |
[INFO] [stdout] 101 |         let (k, body) = try!(self.Body_(j));
[INFO] [stdout]     |                         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/gram_parser.rs:108:26
[INFO] [stdout]     |
[INFO] [stdout] 108 |             let (j, _) = try!(self.consume(i, VBAR));
[INFO] [stdout]     |                          ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/gram_parser.rs:109:29
[INFO] [stdout]     |
[INFO] [stdout] 109 |             let (k, rule) = try!(self.Rule(j));
[INFO] [stdout]     |                             ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/gram_parser.rs:110:29
[INFO] [stdout]     |
[INFO] [stdout] 110 |             let (l, body) = try!(self.Body_(k));
[INFO] [stdout]     |                             ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/gram_parser.rs:118:28
[INFO] [stdout]     |
[INFO] [stdout] 118 |             let (j, sym) = try!(self.Symbol(i));
[INFO] [stdout]     |                            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/gram_parser.rs:119:29
[INFO] [stdout]     |
[INFO] [stdout] 119 |             let (k, rule) = try!(self.Rule(j));
[INFO] [stdout]     |                             ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0658]: use of unstable library feature `rustc_private`: this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead?
[INFO] [stdout]  --> src/main.rs:9:1
[INFO] [stdout]   |
[INFO] [stdout] 9 | extern crate getopts;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: see issue #27812 <https://github.com/rust-lang/rust/issues/27812> for more information
[INFO] [stdout]   = help: add `#![feature(rustc_private)]` to the crate attributes to enable
[INFO] [stdout]   = note: this compiler was built on 2025-07-18; consider upgrading it if it is out of date
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0658]: use of unstable library feature `rustc_private`: this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead?
[INFO] [stdout]   --> src/main.rs:10:1
[INFO] [stdout]    |
[INFO] [stdout] 10 | extern crate libc;
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: see issue #27812 <https://github.com/rust-lang/rust/issues/27812> for more information
[INFO] [stdout]    = help: add `#![feature(rustc_private)]` to the crate attributes to enable
[INFO] [stdout]    = note: this compiler was built on 2025-07-18; consider upgrading it if it is out of date
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0658]: use of unstable library feature `rustc_private`: this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead?
[INFO] [stdout]   --> src/main.rs:27:38
[INFO] [stdout]    |
[INFO] [stdout] 27 | struct MainConfig<'a>{options : &'a [getopts::OptGroup]}
[INFO] [stdout]    |                                      ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: see issue #27812 <https://github.com/rust-lang/rust/issues/27812> for more information
[INFO] [stdout]    = help: add `#![feature(rustc_private)]` to the crate attributes to enable
[INFO] [stdout]    = note: this compiler was built on 2025-07-18; consider upgrading it if it is out of date
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0658]: use of unstable library feature `rustc_private`: this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead?
[INFO] [stdout]   --> src/main.rs:33:18
[INFO] [stdout]    |
[INFO] [stdout] 33 |         unsafe { libc::exit(5); }
[INFO] [stdout]    |                  ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: see issue #27812 <https://github.com/rust-lang/rust/issues/27812> for more information
[INFO] [stdout]    = help: add `#![feature(rustc_private)]` to the crate attributes to enable
[INFO] [stdout]    = note: this compiler was built on 2025-07-18; consider upgrading it if it is out of date
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the feature `globs` has been stable since 1.0.0 and no longer requires an attribute to enable
[INFO] [stdout]  --> src/main.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | #![feature(globs)]
[INFO] [stdout]   |            ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(stable_features)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the feature `macro_rules` has been stable since 1.0.0 and no longer requires an attribute to enable
[INFO] [stdout]  --> src/main.rs:7:12
[INFO] [stdout]   |
[INFO] [stdout] 7 | #![feature(macro_rules)]
[INFO] [stdout]   |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0496]: lifetime name `'a` shadows a lifetime name that is already in scope
[INFO] [stdout]    --> src/slr.rs:523:18
[INFO] [stdout]     |
[INFO] [stdout] 522 | impl<'a> SLRAutomaton<'a> {
[INFO] [stdout]     |      -- first declared here
[INFO] [stdout] 523 |     pub fn table<'a>(&'a self) -> SLRTable<'a> {
[INFO] [stdout]     |                  ^^ lifetime `'a` already in scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: trait takes 0 generic arguments but 1 generic argument was supplied
[INFO] [stdout]   --> src/gram_lexer.rs:65:10
[INFO] [stdout]    |
[INFO] [stdout] 65 | impl<'a> Iterator<Result<Token<'a>,LexError>> for Lexer<'a> {
[INFO] [stdout]    |          ^^^^^^^^ expected 0 generic arguments
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0046]: not all trait items implemented, missing: `Item`
[INFO] [stdout]   --> src/gram_lexer.rs:65:1
[INFO] [stdout]    |
[INFO] [stdout] 65 | impl<'a> Iterator<Result<Token<'a>,LexError>> for Lexer<'a> {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `Item` in implementation
[INFO] [stdout]    |
[INFO] [stdout]    = help: implement the missing item: `type Item = /* Type */;`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `SortedSet<T>: Eq` is not satisfied
[INFO] [stdout]    --> src/slr.rs:144:30
[INFO] [stdout]     |
[INFO] [stdout] 144 | impl<T: Ord + Clone> Ord for SortedSet<T> {
[INFO] [stdout]     |                              ^^^^^^^^^^^^ the trait `Eq` is not implemented for `SortedSet<T>`
[INFO] [stdout]     |
[INFO] [stdout] note: required by a bound in `Ord`
[INFO] [stdout]    --> /rustc/a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399/library/core/src/cmp.rs:961:1
[INFO] [stdout] help: consider annotating `SortedSet<T>` with `#[derive(Eq)]`
[INFO] [stdout]     |
[INFO] [stdout] 50  + #[derive(Eq)]
[INFO] [stdout] 51  | pub struct SortedSet<T: Ord + Clone> {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Item<'a>: Eq` is not satisfied
[INFO] [stdout]    --> src/slr.rs:238:18
[INFO] [stdout]     |
[INFO] [stdout] 238 | impl<'a> Ord for Item<'a> {
[INFO] [stdout]     |                  ^^^^^^^^ the trait `Eq` is not implemented for `Item<'a>`
[INFO] [stdout]     |
[INFO] [stdout] note: required by a bound in `Ord`
[INFO] [stdout]    --> /rustc/a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399/library/core/src/cmp.rs:961:1
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Symbol: Ord` is not satisfied
[INFO] [stdout]    --> src/slr.rs:259:43
[INFO] [stdout]     |
[INFO] [stdout] 259 |     first_cache : RefCell<HashMap<Symbol, SortedSet<Symbol>>>,
[INFO] [stdout]     |                                           ^^^^^^^^^^^^^^^^^ the trait `Ord` is not implemented for `Symbol`
[INFO] [stdout]     |
[INFO] [stdout] note: required by a bound in `SortedSet`
[INFO] [stdout]    --> src/slr.rs:50:25
[INFO] [stdout]     |
[INFO] [stdout] 50  | pub struct SortedSet<T: Ord + Clone> {
[INFO] [stdout]     |                         ^^^ required by this bound in `SortedSet`
[INFO] [stdout] help: consider annotating `Symbol` with `#[derive(Ord)]`
[INFO] [stdout]     |
[INFO] [stdout] 43  + #[derive(Ord)]
[INFO] [stdout] 44  | pub enum Symbol {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Symbol: Clone` is not satisfied
[INFO] [stdout]    --> src/slr.rs:259:43
[INFO] [stdout]     |
[INFO] [stdout] 259 |     first_cache : RefCell<HashMap<Symbol, SortedSet<Symbol>>>,
[INFO] [stdout]     |                                           ^^^^^^^^^^^^^^^^^ the trait `Clone` is not implemented for `Symbol`
[INFO] [stdout]     |
[INFO] [stdout] note: required by a bound in `SortedSet`
[INFO] [stdout]    --> src/slr.rs:50:31
[INFO] [stdout]     |
[INFO] [stdout] 50  | pub struct SortedSet<T: Ord + Clone> {
[INFO] [stdout]     |                               ^^^^^ required by this bound in `SortedSet`
[INFO] [stdout] help: consider annotating `Symbol` with `#[derive(Clone)]`
[INFO] [stdout]     |
[INFO] [stdout] 43  + #[derive(Clone)]
[INFO] [stdout] 44  | pub enum Symbol {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Lex` in this scope
[INFO] [stdout]   --> src/gram_parser.rs:47:34
[INFO] [stdout]    |
[INFO] [stdout] 47 |         Err(err) => { return Err(Lex(err)) }
[INFO] [stdout]    |                                  ^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]    |
[INFO] [stdout] 9  + use gram_parser::ParseError::Lex;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `UnconsumedInput` in this scope
[INFO] [stdout]   --> src/gram_parser.rs:75:24
[INFO] [stdout]    |
[INFO] [stdout] 75 |             return Err(UnconsumedInput(format!("{}", self.tokens.slice(i, self.tokens.len()))))
[INFO] [stdout]    |                        ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]    |
[INFO] [stdout] 9  + use gram_parser::ParseError::UnconsumedInput;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `uint` in this scope
[INFO] [stdout]   --> src/gram_parser.rs:81:31
[INFO] [stdout]    |
[INFO] [stdout] 81 |     fn Productions(&self, i : uint) -> Result<(uint,Node),ParseError> {
[INFO] [stdout]    |                               ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `uint` in this scope
[INFO] [stdout]   --> src/gram_parser.rs:81:48
[INFO] [stdout]    |
[INFO] [stdout] 81 |     fn Productions(&self, i : uint) -> Result<(uint,Node),ParseError> {
[INFO] [stdout]    |                                                ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 56 | impl<'a, uint> Parser<'a> {
[INFO] [stdout]    |        ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `uint` in this scope
[INFO] [stdout]   --> src/gram_parser.rs:90:30
[INFO] [stdout]    |
[INFO] [stdout] 90 |     fn Production(&self, i : uint) -> Result<(uint,Node),ParseError> {
[INFO] [stdout]    |                              ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `uint` in this scope
[INFO] [stdout]   --> src/gram_parser.rs:90:47
[INFO] [stdout]    |
[INFO] [stdout] 90 |     fn Production(&self, i : uint) -> Result<(uint,Node),ParseError> {
[INFO] [stdout]    |                                               ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 56 | impl<'a, uint> Parser<'a> {
[INFO] [stdout]    |        ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `NONTERM` in this scope
[INFO] [stdout]   --> src/gram_parser.rs:91:44
[INFO] [stdout]    |
[INFO] [stdout] 91 |         let (a, nt) = try!(self.consume(i, NONTERM).and_then(|(a,tok)| {Ok((a,Node::new("NonTerm").addkid(Node::new(tok.lexeme))))}));
[INFO] [stdout]    |                                            ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]    |
[INFO] [stdout] 9  + use gram_parser::TokenType::NONTERM;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `ARROW` in this scope
[INFO] [stdout]   --> src/gram_parser.rs:92:43
[INFO] [stdout]    |
[INFO] [stdout] 92 |         let (b, _) = try!(self.consume(a, ARROW));
[INFO] [stdout]    |                                           ^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]    |
[INFO] [stdout] 9  + use gram_parser::TokenType::ARROW;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SEMI` in this scope
[INFO] [stdout]   --> src/gram_parser.rs:94:43
[INFO] [stdout]    |
[INFO] [stdout] 94 |         let (d, _) = try!(self.consume(c, SEMI));
[INFO] [stdout]    |                                           ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]    |
[INFO] [stdout] 9  + use gram_parser::TokenType::SEMI;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `uint` in this scope
[INFO] [stdout]   --> src/gram_parser.rs:99:24
[INFO] [stdout]    |
[INFO] [stdout] 99 |     fn Body(&self, i : uint) -> Result<(uint,Node),ParseError> {
[INFO] [stdout]    |                        ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `f` in this scope
[INFO] [stdout]    --> src/gram_parser.rs:136:16
[INFO] [stdout]     |
[INFO] [stdout] 136 |         return f(i).or(Ok((i,n)))
[INFO] [stdout]     |                ^ help: a local variable with a similar name exists: `i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `uint` in this scope
[INFO] [stdout]   --> src/gram_parser.rs:99:41
[INFO] [stdout]    |
[INFO] [stdout] 99 |     fn Body(&self, i : uint) -> Result<(uint,Node),ParseError> {
[INFO] [stdout]    |                                         ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 56 | impl<'a, uint> Parser<'a> {
[INFO] [stdout]    |        ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `uint` in this scope
[INFO] [stdout]    --> src/gram_parser.rs:106:25
[INFO] [stdout]     |
[INFO] [stdout] 106 |     fn Body_(&self, i : uint) -> Result<(uint,Node),ParseError> {
[INFO] [stdout]     |                         ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0046, E0107, E0277, E0405, E0412, E0425, E0432, E0433, E0463...
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0046`.
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `uint` in this scope
[INFO] [stdout]    --> src/gram_parser.rs:106:42
[INFO] [stdout]     |
[INFO] [stdout] 106 |     fn Body_(&self, i : uint) -> Result<(uint,Node),ParseError> {
[INFO] [stdout]     |                                          ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 56  | impl<'a, uint> Parser<'a> {
[INFO] [stdout]     |        ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `VBAR` in this scope
[INFO] [stdout]    --> src/gram_parser.rs:108:47
[INFO] [stdout]     |
[INFO] [stdout] 108 |             let (j, _) = try!(self.consume(i, VBAR));
[INFO] [stdout]     |                                               ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]     |
[INFO] [stdout] 9   + use gram_parser::TokenType::VBAR;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `uint` in this scope
[INFO] [stdout]    --> src/gram_parser.rs:116:24
[INFO] [stdout]     |
[INFO] [stdout] 116 |     fn Rule(&self, i : uint) -> Result<(uint,Node),ParseError> {
[INFO] [stdout]     |                        ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `uint` in this scope
[INFO] [stdout]    --> src/gram_parser.rs:116:41
[INFO] [stdout]     |
[INFO] [stdout] 116 |     fn Rule(&self, i : uint) -> Result<(uint,Node),ParseError> {
[INFO] [stdout]     |                                         ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 56  | impl<'a, uint> Parser<'a> {
[INFO] [stdout]     |        ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `uint` in this scope
[INFO] [stdout]    --> src/gram_parser.rs:125:26
[INFO] [stdout]     |
[INFO] [stdout] 125 |     fn Symbol(&self, i : uint) -> Result<(uint,Node),ParseError> {
[INFO] [stdout]     |                          ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `uint` in this scope
[INFO] [stdout]    --> src/gram_parser.rs:125:43
[INFO] [stdout]     |
[INFO] [stdout] 125 |     fn Symbol(&self, i : uint) -> Result<(uint,Node),ParseError> {
[INFO] [stdout]     |                                           ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 56  | impl<'a, uint> Parser<'a> {
[INFO] [stdout]     |        ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `TERM` in this scope
[INFO] [stdout]    --> src/gram_parser.rs:126:32
[INFO] [stdout]     |
[INFO] [stdout] 126 |         return self.consume(i, TERM).and_then(|(j, tok)| {
[INFO] [stdout]     |                                ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]     |
[INFO] [stdout] 9   + use gram_parser::TokenType::TERM;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `NONTERM` in this scope
[INFO] [stdout]    --> src/gram_parser.rs:128:39
[INFO] [stdout]     |
[INFO] [stdout] 128 |                 }).or(self.consume(i, NONTERM).and_then(|(j, tok)| {
[INFO] [stdout]     |                                       ^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]     |
[INFO] [stdout] 9   + use gram_parser::TokenType::NONTERM;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `EMPTY` in this scope
[INFO] [stdout]    --> src/gram_parser.rs:130:39
[INFO] [stdout]     |
[INFO] [stdout] 130 |                 }).or(self.consume(i, EMPTY).and_then(|(j, tok)| {
[INFO] [stdout]     |                                       ^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 9   + use gram_parser::TokenType::EMPTY;
[INFO] [stdout]     |
[INFO] [stdout] 9   + use libc::EMPTY;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `uint` in this scope
[INFO] [stdout]    --> src/gram_parser.rs:135:33
[INFO] [stdout]     |
[INFO] [stdout] 135 |     fn epsilon<T, E>(&self, i : uint, n : T, f : |uint| -> Result<(uint,T),E>) -> Result<(uint,T),E> {
[INFO] [stdout]     |                                 ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `uint` in this scope
[INFO] [stdout]    --> src/gram_parser.rs:135:91
[INFO] [stdout]     |
[INFO] [stdout] 135 |     fn epsilon<T, E>(&self, i : uint, n : T, f : |uint| -> Result<(uint,T),E>) -> Result<(uint,T),E> {
[INFO] [stdout]     |                                                                                           ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 56  | impl<'a, uint> Parser<'a> {
[INFO] [stdout]     |        ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `uint` in this scope
[INFO] [stdout]    --> src/gram_parser.rs:139:34
[INFO] [stdout]     |
[INFO] [stdout] 139 |     fn consume<'a>(&'a self, i : uint, toktype : TokenType) -> Result<(uint, Token<'a>), ParseError> {
[INFO] [stdout]     |                                  ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `uint` in this scope
[INFO] [stdout]    --> src/gram_parser.rs:139:72
[INFO] [stdout]     |
[INFO] [stdout] 139 |     fn consume<'a>(&'a self, i : uint, toktype : TokenType) -> Result<(uint, Token<'a>), ParseError> {
[INFO] [stdout]     |                                                                        ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 56  | impl<'a, uint> Parser<'a> {
[INFO] [stdout]     |        ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `NoMoreInputExpected` in this scope
[INFO] [stdout]    --> src/gram_parser.rs:141:24
[INFO] [stdout]     |
[INFO] [stdout] 141 |             return Err(NoMoreInputExpected(toktype));
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 9   + use gram_parser::ParseError::NoMoreInputExpected;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ExpectedButGot` in this scope
[INFO] [stdout]    --> src/gram_parser.rs:147:24
[INFO] [stdout]     |
[INFO] [stdout] 147 |                    Err(ExpectedButGot(toktype, tok.token))
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 9   + use gram_parser::ParseError::ExpectedButGot;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `uint` in this scope
[INFO] [stdout]   --> src/gram_lexer.rs:22:14
[INFO] [stdout]    |
[INFO] [stdout] 22 |     BadState(uint),
[INFO] [stdout]    |              ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `uint` in this scope
[INFO] [stdout]   --> src/gram_lexer.rs:35:10
[INFO] [stdout]    |
[INFO] [stdout] 35 |     tc : uint,
[INFO] [stdout]    |          ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `UnexpectedCharacter` in this scope
[INFO] [stdout]   --> src/gram_lexer.rs:94:41
[INFO] [stdout]    |
[INFO] [stdout] 94 |                         return Some(Err(UnexpectedCharacter(ch)))
[INFO] [stdout]    |                                         ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]    |
[INFO] [stdout] 6  + use gram_lexer::LexError::UnexpectedCharacter;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SEMI` in this scope
[INFO] [stdout]    --> src/gram_lexer.rs:106:48
[INFO] [stdout]     |
[INFO] [stdout] 106 |                     return Some(Ok(Token{token:SEMI,lexeme:text.slice(start_tc,tc)}))
[INFO] [stdout]     |                                                ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]     |
[INFO] [stdout] 6   + use gram_lexer::TokenType::SEMI;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `UnexpectedCharacter` in this scope
[INFO] [stdout]    --> src/gram_lexer.rs:111:41
[INFO] [stdout]     |
[INFO] [stdout] 111 |                         return Some(Err(UnexpectedCharacter(ch)))
[INFO] [stdout]     |                                         ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 6   + use gram_lexer::LexError::UnexpectedCharacter;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `ARROW` in this scope
[INFO] [stdout]    --> src/gram_lexer.rs:115:48
[INFO] [stdout]     |
[INFO] [stdout] 115 |                     return Some(Ok(Token{token:ARROW,lexeme:text.slice(start_tc,tc)}))
[INFO] [stdout]     |                                                ^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]     |
[INFO] [stdout] 6   + use gram_lexer::TokenType::ARROW;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `EMPTY` in this scope
[INFO] [stdout]    --> src/gram_lexer.rs:118:48
[INFO] [stdout]     |
[INFO] [stdout] 118 |                     return Some(Ok(Token{token:EMPTY,lexeme:text.slice(start_tc,tc)}))
[INFO] [stdout]     |                                                ^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 6   + use gram_lexer::TokenType::EMPTY;
[INFO] [stdout]     |
[INFO] [stdout] 6   + use libc::EMPTY;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `NONTERM` in this scope
[INFO] [stdout]    --> src/gram_lexer.rs:126:52
[INFO] [stdout]     |
[INFO] [stdout] 126 |                         return Some(Ok(Token{token:NONTERM,lexeme:text.slice(start_tc,tc)}))
[INFO] [stdout]     |                                                    ^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]     |
[INFO] [stdout] 6   + use gram_lexer::TokenType::NONTERM;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `NONTERM` in this scope
[INFO] [stdout]    --> src/gram_lexer.rs:133:52
[INFO] [stdout]     |
[INFO] [stdout] 133 |                         return Some(Ok(Token{token:NONTERM,lexeme:text.slice(start_tc,tc)}))
[INFO] [stdout]     |                                                    ^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]     |
[INFO] [stdout] 6   + use gram_lexer::TokenType::NONTERM;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `VBAR` in this scope
[INFO] [stdout]    --> src/gram_lexer.rs:137:48
[INFO] [stdout]     |
[INFO] [stdout] 137 |                     return Some(Ok(Token{token:VBAR,lexeme:text.slice(start_tc,tc)}))
[INFO] [stdout]     |                                                ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]     |
[INFO] [stdout] 6   + use gram_lexer::TokenType::VBAR;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `TERM` in this scope
[INFO] [stdout]    --> src/gram_lexer.rs:145:52
[INFO] [stdout]     |
[INFO] [stdout] 145 |                         return Some(Ok(Token{token:TERM,lexeme:text.slice(start_tc,tc)}))
[INFO] [stdout]     |                                                    ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]     |
[INFO] [stdout] 6   + use gram_lexer::TokenType::TERM;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `BadState` in this scope
[INFO] [stdout]    --> src/gram_lexer.rs:149:37
[INFO] [stdout]     |
[INFO] [stdout] 149 |                     return Some(Err(BadState(state)))
[INFO] [stdout]     |                                     ^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 6   + use gram_lexer::LexError::BadState;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `Index` in this scope
[INFO] [stdout]   --> src/slr.rs:19:25
[INFO] [stdout]    |
[INFO] [stdout] 19 | fn find<T: Ord + Eq, S: Index<uint, T> + Collection>(items : &S, item : &T) -> (uint,bool) {
[INFO] [stdout]    |                         ^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]    |
[INFO] [stdout] 8  + use std::ops::Index;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `uint` in this scope
[INFO] [stdout]   --> src/slr.rs:19:31
[INFO] [stdout]    |
[INFO] [stdout] 19 | fn find<T: Ord + Eq, S: Index<uint, T> + Collection>(items : &S, item : &T) -> (uint,bool) {
[INFO] [stdout]    |                               ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `Collection` in this scope
[INFO] [stdout]   --> src/slr.rs:19:42
[INFO] [stdout]    |
[INFO] [stdout] 19 | fn find<T: Ord + Eq, S: Index<uint, T> + Collection>(items : &S, item : &T) -> (uint,bool) {
[INFO] [stdout]    |                                          ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `uint` in this scope
[INFO] [stdout]   --> src/slr.rs:19:81
[INFO] [stdout]    |
[INFO] [stdout] 19 | fn find<T: Ord + Eq, S: Index<uint, T> + Collection>(items : &S, item : &T) -> (uint,bool) {
[INFO] [stdout]    |                                                                                 ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `int` in this scope
[INFO] [stdout]   --> src/slr.rs:20:17
[INFO] [stdout]    |
[INFO] [stdout] 20 |     let mut l : int = 0;
[INFO] [stdout]    |                 ^^^
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 not found in this scope
[INFO] [stdout]    |                 help: perhaps you intended to use this type: `i32`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `int` in this scope
[INFO] [stdout]   --> src/slr.rs:21:17
[INFO] [stdout]    |
[INFO] [stdout] 21 |     let mut r : int = (items.len() as int) - 1;
[INFO] [stdout]    |                 ^^^
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 not found in this scope
[INFO] [stdout]    |                 help: perhaps you intended to use this type: `i32`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `int` in this scope
[INFO] [stdout]   --> src/slr.rs:21:39
[INFO] [stdout]    |
[INFO] [stdout] 21 |     let mut r : int = (items.len() as int) - 1;
[INFO] [stdout]    |                                       ^^^
[INFO] [stdout]    |                                       |
[INFO] [stdout]    |                                       not found in this scope
[INFO] [stdout]    |                                       help: perhaps you intended to use this type: `i32`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `int` in this scope
[INFO] [stdout]   --> src/slr.rs:22:17
[INFO] [stdout]    |
[INFO] [stdout] 22 |     let mut m : int;
[INFO] [stdout]    |                 ^^^
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 not found in this scope
[INFO] [stdout]    |                 help: perhaps you intended to use this type: `i32`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `uint` in this scope
[INFO] [stdout]   --> src/slr.rs:25:34
[INFO] [stdout]    |
[INFO] [stdout] 25 |         if item < &(*items)[m as uint] {
[INFO] [stdout]    |                                  ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `uint` in this scope
[INFO] [stdout]   --> src/slr.rs:27:42
[INFO] [stdout]    |
[INFO] [stdout] 27 |         } else if item == &(*items)[m as uint] {
[INFO] [stdout]    |                                          ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `uint` in this scope
[INFO] [stdout]   --> src/slr.rs:30:57
[INFO] [stdout]    |
[INFO] [stdout] 30 |                 if j == 0 || item != &(*items)[(j-1) as uint] {
[INFO] [stdout]    |                                                         ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `uint` in this scope
[INFO] [stdout]   --> src/slr.rs:31:34
[INFO] [stdout]    |
[INFO] [stdout] 31 |                     return (j as uint, true)
[INFO] [stdout]    |                                  ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `uint` in this scope
[INFO] [stdout]   --> src/slr.rs:39:18
[INFO] [stdout]    |
[INFO] [stdout] 39 |     return (l as uint, false)
[INFO] [stdout]    |                  ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Items` in module `slice`
[INFO] [stdout]   --> src/slr.rs:66:41
[INFO] [stdout]    |
[INFO] [stdout] 66 |     pub fn iter<'b>(&'b self) -> slice::Items<'b, T> {
[INFO] [stdout]    |                                         ^^^^^ not found in `slice`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `MutItems` in module `slice`
[INFO] [stdout]   --> src/slr.rs:70:49
[INFO] [stdout]    |
[INFO] [stdout] 70 |     pub fn mut_iter<'b>(&'b mut self) -> slice::MutItems<'b, T> {
[INFO] [stdout]    |                                                 ^^^^^^^^ not found in `slice`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `MoveItems` in module `vec`
[INFO] [stdout]   --> src/slr.rs:74:36
[INFO] [stdout]    |
[INFO] [stdout] 74 |     pub fn into_iter(self) -> vec::MoveItems<T> {
[INFO] [stdout]    |                                    ^^^^^^^^^ not found in `vec`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `uint` in this scope
[INFO] [stdout]    --> src/slr.rs:101:30
[INFO] [stdout]     |
[INFO] [stdout] 101 |     fn insert(&mut self, i : uint, item : T) {
[INFO] [stdout]     |                              ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `Collection` in this scope
[INFO] [stdout]    --> src/slr.rs:111:22
[INFO] [stdout]     |
[INFO] [stdout] 111 | impl<T: Ord + Clone> Collection for SortedSet<T> {
[INFO] [stdout]     |                      ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `uint` in this scope
[INFO] [stdout]    --> src/slr.rs:112:22
[INFO] [stdout]     |
[INFO] [stdout] 112 |     fn len(&self) -> uint {
[INFO] [stdout]     |                      ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Ordering` in this scope
[INFO] [stdout]    --> src/slr.rs:139:60
[INFO] [stdout]     |
[INFO] [stdout] 139 |     fn partial_cmp(&self, other : &SortedSet<T>) -> Option<Ordering> {
[INFO] [stdout]     |                                                            ^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these enums
[INFO] [stdout]     |
[INFO] [stdout] 8   + use std::sync::atomic::Ordering;
[INFO] [stdout]     |
[INFO] [stdout] 8   + use slr::cmp::Ordering;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Ordering` in this scope
[INFO] [stdout]    --> src/slr.rs:145:45
[INFO] [stdout]     |
[INFO] [stdout] 145 |     fn cmp(&self, other : &SortedSet<T>) -> Ordering {
[INFO] [stdout]     |                                             ^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these enums
[INFO] [stdout]     |
[INFO] [stdout] 8   + use std::sync::atomic::Ordering;
[INFO] [stdout]     |
[INFO] [stdout] 8   + use slr::cmp::Ordering;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `uint` in this scope
[INFO] [stdout]    --> src/slr.rs:179:56
[INFO] [stdout]     |
[INFO] [stdout] 179 |     pub fn index_of(&self, symbol : &Symbol) -> Option<uint> {
[INFO] [stdout]     |                                                        ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 178 | impl<uint> Production {
[INFO] [stdout]     |     ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `uint` in this scope
[INFO] [stdout]    --> src/slr.rs:192:11
[INFO] [stdout]     |
[INFO] [stdout] 192 |     dot : uint
[INFO] [stdout]     |           ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Ordering` in this scope
[INFO] [stdout]    --> src/slr.rs:233:56
[INFO] [stdout]     |
[INFO] [stdout] 233 |     fn partial_cmp(&self, other : &Item<'a>) -> Option<Ordering> {
[INFO] [stdout]     |                                                        ^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these enums
[INFO] [stdout]     |
[INFO] [stdout] 8   + use std::sync::atomic::Ordering;
[INFO] [stdout]     |
[INFO] [stdout] 8   + use slr::cmp::Ordering;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Ordering` in this scope
[INFO] [stdout]    --> src/slr.rs:239:41
[INFO] [stdout]     |
[INFO] [stdout] 239 |     fn cmp(&self, other : &Item<'a>) -> Ordering {
[INFO] [stdout]     |                                         ^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these enums
[INFO] [stdout]     |
[INFO] [stdout] 8   + use std::sync::atomic::Ordering;
[INFO] [stdout]     |
[INFO] [stdout] 8   + use slr::cmp::Ordering;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `NonTerm` in this scope
[INFO] [stdout]    --> src/slr.rs:267:24
[INFO] [stdout]     |
[INFO] [stdout] 267 |         symbols.insert(NonTerm(start.clone()));
[INFO] [stdout]     |                        ^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 8   + use slr::Symbol::NonTerm;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Term` in this scope
[INFO] [stdout]    --> src/slr.rs:290:13
[INFO] [stdout]     |
[INFO] [stdout] 290 |             Term(name.clone())
[INFO] [stdout]     |             ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 8   + use slr::Symbol::Term;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `NonTerm` in this scope
[INFO] [stdout]    --> src/slr.rs:292:13
[INFO] [stdout]     |
[INFO] [stdout] 292 |             NonTerm(name.clone())
[INFO] [stdout]     |             ^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 8   + use slr::Symbol::NonTerm;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Term` in this scope
[INFO] [stdout]    --> src/slr.rs:300:13
[INFO] [stdout]     |
[INFO] [stdout] 300 |             Term(s) => { s }
[INFO] [stdout]     |             ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 8   + use slr::Symbol::Term;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `NonTerm` in this scope
[INFO] [stdout]    --> src/slr.rs:301:13
[INFO] [stdout]     |
[INFO] [stdout] 301 |             NonTerm(s) => { s }
[INFO] [stdout]     |             ^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 8   + use slr::Symbol::NonTerm;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Term` in this scope
[INFO] [stdout]    --> src/slr.rs:320:13
[INFO] [stdout]     |
[INFO] [stdout] 320 |             Term(_) => {
[INFO] [stdout]     |             ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 8   + use slr::Symbol::Term;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `NonTerm` in this scope
[INFO] [stdout]    --> src/slr.rs:323:13
[INFO] [stdout]     |
[INFO] [stdout] 323 |             NonTerm(ref name) => {
[INFO] [stdout]     |             ^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 8   + use slr::Symbol::NonTerm;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `EmptyString` in this scope
[INFO] [stdout]    --> src/slr.rs:332:74
[INFO] [stdout]     |
[INFO] [stdout] 332 |                         symbols.addall(first.minus(&SortedSet::singleton(EmptyString)));
[INFO] [stdout]     |                                                                          ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]     |
[INFO] [stdout] 8   + use slr::Symbol::EmptyString;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `EmptyString` in this scope
[INFO] [stdout]    --> src/slr.rs:333:44
[INFO] [stdout]     |
[INFO] [stdout] 333 |                         if first.contains(&EmptyString) {
[INFO] [stdout]     |                                            ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]     |
[INFO] [stdout] 8   + use slr::Symbol::EmptyString;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `EmptyString` in this scope
[INFO] [stdout]    --> src/slr.rs:339:37
[INFO] [stdout]     |
[INFO] [stdout] 339 |                         symbols.add(EmptyString)
[INFO] [stdout]     |                                     ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]     |
[INFO] [stdout] 8   + use slr::Symbol::EmptyString;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `EmptyString` in this scope
[INFO] [stdout]    --> src/slr.rs:355:62
[INFO] [stdout]     |
[INFO] [stdout] 355 |             symbols.addall(first.minus(&SortedSet::singleton(EmptyString)));
[INFO] [stdout]     |                                                              ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]     |
[INFO] [stdout] 8   + use slr::Symbol::EmptyString;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `EmptyString` in this scope
[INFO] [stdout]    --> src/slr.rs:356:32
[INFO] [stdout]     |
[INFO] [stdout] 356 |             if first.contains(&EmptyString) {
[INFO] [stdout]     |                                ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]     |
[INFO] [stdout] 8   + use slr::Symbol::EmptyString;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `EmptyString` in this scope
[INFO] [stdout]    --> src/slr.rs:360:21
[INFO] [stdout]     |
[INFO] [stdout] 360 |         symbols.add(EmptyString);
[INFO] [stdout]     |                     ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]     |
[INFO] [stdout] 8   + use slr::Symbol::EmptyString;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `NonTerm` in this scope
[INFO] [stdout]    --> src/slr.rs:369:13
[INFO] [stdout]     |
[INFO] [stdout] 369 |             NonTerm(ref name) => {
[INFO] [stdout]     |             ^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 8   + use slr::Symbol::NonTerm;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `uint` in this scope
[INFO] [stdout]    --> src/slr.rs:371:29
[INFO] [stdout]     |
[INFO] [stdout] 371 |                     let i : uint = match p.index_of(&nt) {
[INFO] [stdout]     |                             ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `EmptyString` in this scope
[INFO] [stdout]    --> src/slr.rs:377:44
[INFO] [stdout]     |
[INFO] [stdout] 377 |                         if first.contains(&EmptyString) {
[INFO] [stdout]     |                                            ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]     |
[INFO] [stdout] 8   + use slr::Symbol::EmptyString;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `EmptyString` in this scope
[INFO] [stdout]    --> src/slr.rs:378:71
[INFO] [stdout]     |
[INFO] [stdout] 378 | ...                   first = first.minus(&SortedSet::singleton(EmptyString));
[INFO] [stdout]     |                                                                 ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]     |
[INFO] [stdout] 8   + use slr::Symbol::EmptyString;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `NonTerm` in this scope
[INFO] [stdout]    --> src/slr.rs:380:60
[INFO] [stdout]     |
[INFO] [stdout] 380 | ...                   symbols.addall(self.FOLLOW(NonTerm(p.nt.clone())));
[INFO] [stdout]     |                                                  ^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 8   + use slr::Symbol::NonTerm;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `NonTerm` in this scope
[INFO] [stdout]    --> src/slr.rs:385:52
[INFO] [stdout]     |
[INFO] [stdout] 385 |                         symbols.addall(self.FOLLOW(NonTerm(p.nt.clone())));
[INFO] [stdout]     |                                                    ^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 8   + use slr::Symbol::NonTerm;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `uint` in this scope
[INFO] [stdout]    --> src/slr.rs:398:54
[INFO] [stdout]     |
[INFO] [stdout] 398 |         let mut states : TreeMap<SortedSet<Item<'a>>,uint> = TreeMap::new();
[INFO] [stdout]     |                                                      ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 263 | impl<uint> Grammar {
[INFO] [stdout]     |     ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `uint` in this scope
[INFO] [stdout]    --> src/slr.rs:400:27
[INFO] [stdout]     |
[INFO] [stdout] 400 |         let mut next_id : uint = 0;
[INFO] [stdout]     |                           ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Term` in this scope
[INFO] [stdout]    --> src/slr.rs:460:25
[INFO] [stdout]     |
[INFO] [stdout] 460 |                         Term(_) => {
[INFO] [stdout]     |                         ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 8   + use slr::Symbol::Term;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `NonTerm` in this scope
[INFO] [stdout]    --> src/slr.rs:462:27
[INFO] [stdout]     |
[INFO] [stdout] 462 |                         } NonTerm(ref name) => {
[INFO] [stdout]     |                           ^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 8   + use slr::Symbol::NonTerm;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `uint` in this scope
[INFO] [stdout]    --> src/slr.rs:498:10
[INFO] [stdout]     |
[INFO] [stdout] 498 |     id : uint,
[INFO] [stdout]     |          ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `uint` in this scope
[INFO] [stdout]    --> src/slr.rs:500:29
[INFO] [stdout]     |
[INFO] [stdout] 500 |     moves : HashMap<Symbol, uint>
[INFO] [stdout]     |                             ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 497 | pub struct SLRState<'a, uint> {
[INFO] [stdout]     |                       ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `uint` in this scope
[INFO] [stdout]    --> src/slr.rs:510:10
[INFO] [stdout]     |
[INFO] [stdout] 510 |     Goto(uint),
[INFO] [stdout]     |          ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `uint` in this scope
[INFO] [stdout]    --> src/slr.rs:511:11
[INFO] [stdout]     |
[INFO] [stdout] 511 |     Shift(uint),
[INFO] [stdout]     |           ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `uint` in this scope
[INFO] [stdout]    --> src/slr.rs:519:24
[INFO] [stdout]     |
[INFO] [stdout] 519 |     actions : HashMap<(uint,Symbol),LRAction<'a>>,
[INFO] [stdout]     |                        ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 518 | pub struct SLRTable<'a, uint> {
[INFO] [stdout]     |                       ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Term` in this scope
[INFO] [stdout]    --> src/slr.rs:532:22
[INFO] [stdout]     |
[INFO] [stdout] 532 |                     &Term(_) => {
[INFO] [stdout]     |                      ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 8   + use slr::Symbol::Term;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Shift` in this scope
[INFO] [stdout]    --> src/slr.rs:533:63
[INFO] [stdout]     |
[INFO] [stdout] 533 |                         table.actions.insert((i,sym.clone()), Shift(*target));
[INFO] [stdout]     |                                                               ^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 8   + use slr::LRAction::Shift;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `NonTerm` in this scope
[INFO] [stdout]    --> src/slr.rs:535:22
[INFO] [stdout]     |
[INFO] [stdout] 535 |                     &NonTerm(_) => {
[INFO] [stdout]     |                      ^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 8   + use slr::Symbol::NonTerm;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Goto` in this scope
[INFO] [stdout]    --> src/slr.rs:536:63
[INFO] [stdout]     |
[INFO] [stdout] 536 |                         table.actions.insert((i,sym.clone()), Goto(*target));
[INFO] [stdout]     |                                                               ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 8   + use slr::LRAction::Goto;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `NonTerm` in this scope
[INFO] [stdout]    --> src/slr.rs:542:52
[INFO] [stdout]     |
[INFO] [stdout] 542 |                     for sym in self.grammar.FOLLOW(NonTerm(item.production.nt.clone())).iter() {
[INFO] [stdout]     |                                                    ^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 8   + use slr::Symbol::NonTerm;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Reduce` in this scope
[INFO] [stdout]    --> src/slr.rs:543:63
[INFO] [stdout]     |
[INFO] [stdout] 543 |                         table.actions.insert((i,sym.clone()), Reduce(item.production));
[INFO] [stdout]     |                                                               ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]     |
[INFO] [stdout] 8   + use slr::LRAction::Reduce;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `usage` in crate `getopts`
[INFO] [stdout]   --> src/main.rs:32:29
[INFO] [stdout]    |
[INFO] [stdout] 32 |         log!("{}", getopts::usage(short_usage, self.options));
[INFO] [stdout]    |                             ^^^^^ not found in `getopts`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `Show` in module `std::fmt`
[INFO] [stdout]   --> src/main.rs:36:38
[INFO] [stdout]    |
[INFO] [stdout] 36 |     fn unwrap_or_die<T, E: std::fmt::Show>(&self, res : Result<T, E>) -> T {
[INFO] [stdout]    |                                      ^^^^ not found in `std::fmt`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `File` in `io`
[INFO] [stdout]   --> src/main.rs:50:32
[INFO] [stdout]    |
[INFO] [stdout] 50 |         self.unwrap_or_die(io::File::open(&Path::new(path))
[INFO] [stdout]    |                                ^^^^ could not find `File` in `io`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 12 + use std::fs::File;
[INFO] [stdout]    |
[INFO] [stdout] help: if you import `File`, refer to it directly
[INFO] [stdout]    |
[INFO] [stdout] 50 -         self.unwrap_or_die(io::File::open(&Path::new(path))
[INFO] [stdout] 50 +         self.unwrap_or_die(File::open(&Path::new(path))
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path`
[INFO] [stdout]   --> src/main.rs:50:44
[INFO] [stdout]    |
[INFO] [stdout] 50 |         self.unwrap_or_die(io::File::open(&Path::new(path))
[INFO] [stdout]    |                                            ^^^^ use of undeclared type `Path`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 12 + use std::path::Path;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `IoError` in module `io`
[INFO] [stdout]   --> src/main.rs:52:60
[INFO] [stdout]    |
[INFO] [stdout] 52 |           .and_then(|bytes : Vec<u8>| -> Result<String,io::IoError> {
[INFO] [stdout]    |                                                            ^^^^^^^ help: a struct with a similar name exists: `Error`
[INFO] [stdout]   --> /rustc/a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399/library/std/src/io/error.rs:65:1
[INFO] [stdout]    |
[INFO] [stdout]    = note: similarly named struct `Error` defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `optopt` in crate `getopts`
[INFO] [stdout]   --> src/main.rs:60:18
[INFO] [stdout]    |
[INFO] [stdout] 60 |         getopts::optopt("g", "grammar", "the grammar to read", "<path>"),
[INFO] [stdout]    |                  ^^^^^^ not found in `getopts`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `optflag` in crate `getopts`
[INFO] [stdout]   --> src/main.rs:61:18
[INFO] [stdout]    |
[INFO] [stdout] 61 |         getopts::optflag("h", "help", "print this help menu")
[INFO] [stdout]    |                  ^^^^^^^ not found in `getopts`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `args` in module `os`
[INFO] [stdout]   --> src/main.rs:65:33
[INFO] [stdout]    |
[INFO] [stdout] 65 |     let args: Vec<String> = os::args();
[INFO] [stdout]    |                                 ^^^^ not found in `os`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 12 + use std::env::args;
[INFO] [stdout]    |
[INFO] [stdout] help: if you import `args`, refer to it directly
[INFO] [stdout]    |
[INFO] [stdout] 65 -     let args: Vec<String> = os::args();
[INFO] [stdout] 65 +     let args: Vec<String> = args();
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `getopts` in crate `getopts`
[INFO] [stdout]   --> src/main.rs:67:43
[INFO] [stdout]    |
[INFO] [stdout] 67 |     let opts = cfg.unwrap_or_die(getopts::getopts(args.slice(1, args.len()), cfg.options));
[INFO] [stdout]    |                                           ^^^^^^^ not found in `getopts`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0603]: unit variant `Less` is private
[INFO] [stdout]    --> src/slr.rs:147:25
[INFO] [stdout]     |
[INFO] [stdout] 147 |             return cmp::Less;
[INFO] [stdout]     |                         ^^^^ private unit variant
[INFO] [stdout]     |
[INFO] [stdout] note: the unit variant `Less` is defined here
[INFO] [stdout]    --> /rustc/a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399/library/core/src/cmp.rs:31:5
[INFO] [stdout] help: consider importing this unit variant instead
[INFO] [stdout]     |
[INFO] [stdout] 147 -             return cmp::Less;
[INFO] [stdout] 147 +             return slr::cmp::Ordering::Less;
[INFO] [stdout]     |
[INFO] [stdout] help: import `Less` directly
[INFO] [stdout]     |
[INFO] [stdout] 147 -             return cmp::Less;
[INFO] [stdout] 147 +             return core::cmp::Ordering::Less::Less;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0603]: unit variant `Greater` is private
[INFO] [stdout]    --> src/slr.rs:149:25
[INFO] [stdout]     |
[INFO] [stdout] 149 |             return cmp::Greater;
[INFO] [stdout]     |                         ^^^^^^^ private unit variant
[INFO] [stdout]     |
[INFO] [stdout] note: the unit variant `Greater` is defined here
[INFO] [stdout]    --> /rustc/a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399/library/core/src/cmp.rs:31:5
[INFO] [stdout] help: consider importing this unit variant instead
[INFO] [stdout]     |
[INFO] [stdout] 149 -             return cmp::Greater;
[INFO] [stdout] 149 +             return slr::cmp::Ordering::Greater;
[INFO] [stdout]     |
[INFO] [stdout] help: import `Greater` directly
[INFO] [stdout]     |
[INFO] [stdout] 149 -             return cmp::Greater;
[INFO] [stdout] 149 +             return core::cmp::Ordering::Greater::Greater;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0603]: unit variant `Less` is private
[INFO] [stdout]    --> src/slr.rs:153:29
[INFO] [stdout]     |
[INFO] [stdout] 153 |                 return cmp::Less;
[INFO] [stdout]     |                             ^^^^ private unit variant
[INFO] [stdout]     |
[INFO] [stdout] note: the unit variant `Less` is defined here
[INFO] [stdout]    --> /rustc/a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399/library/core/src/cmp.rs:31:5
[INFO] [stdout] help: consider importing this unit variant instead
[INFO] [stdout]     |
[INFO] [stdout] 153 -                 return cmp::Less;
[INFO] [stdout] 153 +                 return slr::cmp::Ordering::Less;
[INFO] [stdout]     |
[INFO] [stdout] help: import `Less` directly
[INFO] [stdout]     |
[INFO] [stdout] 153 -                 return cmp::Less;
[INFO] [stdout] 153 +                 return core::cmp::Ordering::Less::Less;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `slr` (bin "slr") due to 160 previous errors; 16 warnings emitted
[INFO] [stdout] error[E0603]: unit variant `Greater` is private
[INFO] [stdout]    --> src/slr.rs:155:29
[INFO] [stdout]     |
[INFO] [stdout] 155 |                 return cmp::Greater;
[INFO] [stdout]     |                             ^^^^^^^ private unit variant
[INFO] [stdout]     |
[INFO] [stdout] note: the unit variant `Greater` is defined here
[INFO] [stdout]    --> /rustc/a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399/library/core/src/cmp.rs:31:5
[INFO] [stdout] help: consider importing this unit variant instead
[INFO] [stdout]     |
[INFO] [stdout] 155 -                 return cmp::Greater;
[INFO] [stdout] 155 +                 return slr::cmp::Ordering::Greater;
[INFO] [stdout]     |
[INFO] [stdout] help: import `Greater` directly
[INFO] [stdout]     |
[INFO] [stdout] 155 -                 return cmp::Greater;
[INFO] [stdout] 155 +                 return core::cmp::Ordering::Greater::Greater;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0603]: unit variant `Equal` is private
[INFO] [stdout]    --> src/slr.rs:158:21
[INFO] [stdout]     |
[INFO] [stdout] 158 |         return cmp::Equal;
[INFO] [stdout]     |                     ^^^^^ private unit variant
[INFO] [stdout]     |
[INFO] [stdout] note: the unit variant `Equal` is defined here
[INFO] [stdout]    --> /rustc/a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399/library/core/src/cmp.rs:31:5
[INFO] [stdout] help: consider importing this unit variant instead
[INFO] [stdout]     |
[INFO] [stdout] 158 -         return cmp::Equal;
[INFO] [stdout] 158 +         return slr::cmp::Ordering::Equal;
[INFO] [stdout]     |
[INFO] [stdout] help: import `Equal` directly
[INFO] [stdout]     |
[INFO] [stdout] 158 -         return cmp::Equal;
[INFO] [stdout] 158 +         return core::cmp::Ordering::Equal::Equal;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0603]: unit variant `Less` is private
[INFO] [stdout]    --> src/slr.rs:241:18
[INFO] [stdout]     |
[INFO] [stdout] 241 |             cmp::Less
[INFO] [stdout]     |                  ^^^^ private unit variant
[INFO] [stdout]     |
[INFO] [stdout] note: the unit variant `Less` is defined here
[INFO] [stdout]    --> /rustc/a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399/library/core/src/cmp.rs:31:5
[INFO] [stdout] help: consider importing this unit variant instead
[INFO] [stdout]     |
[INFO] [stdout] 241 -             cmp::Less
[INFO] [stdout] 241 +             slr::cmp::Ordering::Less
[INFO] [stdout]     |
[INFO] [stdout] help: import `Less` directly
[INFO] [stdout]     |
[INFO] [stdout] 241 -             cmp::Less
[INFO] [stdout] 241 +             core::cmp::Ordering::Less::Less
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0603]: unit variant `Less` is private
[INFO] [stdout]    --> src/slr.rs:244:22
[INFO] [stdout]     |
[INFO] [stdout] 244 |                 cmp::Less
[INFO] [stdout]     |                      ^^^^ private unit variant
[INFO] [stdout]     |
[INFO] [stdout] note: the unit variant `Less` is defined here
[INFO] [stdout]    --> /rustc/a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399/library/core/src/cmp.rs:31:5
[INFO] [stdout] help: consider importing this unit variant instead
[INFO] [stdout]     |
[INFO] [stdout] 244 -                 cmp::Less
[INFO] [stdout] 244 +                 slr::cmp::Ordering::Less
[INFO] [stdout]     |
[INFO] [stdout] help: import `Less` directly
[INFO] [stdout]     |
[INFO] [stdout] 244 -                 cmp::Less
[INFO] [stdout] 244 +                 core::cmp::Ordering::Less::Less
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0603]: unit variant `Equal` is private
[INFO] [stdout]    --> src/slr.rs:246:22
[INFO] [stdout]     |
[INFO] [stdout] 246 |                 cmp::Equal
[INFO] [stdout]     |                      ^^^^^ private unit variant
[INFO] [stdout]     |
[INFO] [stdout] note: the unit variant `Equal` is defined here
[INFO] [stdout]    --> /rustc/a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399/library/core/src/cmp.rs:31:5
[INFO] [stdout] help: consider importing this unit variant instead
[INFO] [stdout]     |
[INFO] [stdout] 246 -                 cmp::Equal
[INFO] [stdout] 246 +                 slr::cmp::Ordering::Equal
[INFO] [stdout]     |
[INFO] [stdout] help: import `Equal` directly
[INFO] [stdout]     |
[INFO] [stdout] 246 -                 cmp::Equal
[INFO] [stdout] 246 +                 core::cmp::Ordering::Equal::Equal
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0603]: unit variant `Greater` is private
[INFO] [stdout]    --> src/slr.rs:248:22
[INFO] [stdout]     |
[INFO] [stdout] 248 |                 cmp::Greater
[INFO] [stdout]     |                      ^^^^^^^ private unit variant
[INFO] [stdout]     |
[INFO] [stdout] note: the unit variant `Greater` is defined here
[INFO] [stdout]    --> /rustc/a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399/library/core/src/cmp.rs:31:5
[INFO] [stdout] help: consider importing this unit variant instead
[INFO] [stdout]     |
[INFO] [stdout] 248 -                 cmp::Greater
[INFO] [stdout] 248 +                 slr::cmp::Ordering::Greater
[INFO] [stdout]     |
[INFO] [stdout] help: import `Greater` directly
[INFO] [stdout]     |
[INFO] [stdout] 248 -                 cmp::Greater
[INFO] [stdout] 248 +                 core::cmp::Ordering::Greater::Greater
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0603]: unit variant `Greater` is private
[INFO] [stdout]    --> src/slr.rs:251:18
[INFO] [stdout]     |
[INFO] [stdout] 251 |             cmp::Greater
[INFO] [stdout]     |                  ^^^^^^^ private unit variant
[INFO] [stdout]     |
[INFO] [stdout] note: the unit variant `Greater` is defined here
[INFO] [stdout]    --> /rustc/a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399/library/core/src/cmp.rs:31:5
[INFO] [stdout] help: consider importing this unit variant instead
[INFO] [stdout]     |
[INFO] [stdout] 251 -             cmp::Greater
[INFO] [stdout] 251 +             slr::cmp::Ordering::Greater
[INFO] [stdout]     |
[INFO] [stdout] help: import `Greater` directly
[INFO] [stdout]     |
[INFO] [stdout] 251 -             cmp::Greater
[INFO] [stdout] 251 +             core::cmp::Ordering::Greater::Greater
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0603]: struct `OptGroup` is private
[INFO] [stdout]   --> src/main.rs:27:47
[INFO] [stdout]    |
[INFO] [stdout] 27 | struct MainConfig<'a>{options : &'a [getopts::OptGroup]}
[INFO] [stdout]    |                                               ^^^^^^^^ private struct
[INFO] [stdout]    |
[INFO] [stdout] note: the struct `OptGroup` is defined here
[INFO] [stdout]   --> /rust/deps/getopts-0.2.23/src/lib.rs:761:1
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/gram_parser.rs:73:25
[INFO] [stdout]    |
[INFO] [stdout] 73 |         let (i, node) = try!(self.Productions(0));
[INFO] [stdout]    |                         ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/gram_parser.rs:83:29
[INFO] [stdout]    |
[INFO] [stdout] 83 |             let (a, prod) = try!(self.Production(i));
[INFO] [stdout]    |                             ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/gram_parser.rs:84:29
[INFO] [stdout]    |
[INFO] [stdout] 84 |             let (b, list) = try!(self.Productions(a));
[INFO] [stdout]    |                             ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/gram_parser.rs:91:23
[INFO] [stdout]    |
[INFO] [stdout] 91 |         let (a, nt) = try!(self.consume(i, NONTERM).and_then(|(a,tok)| {Ok((a,Node::new("NonTerm").addkid(Node::new(tok.lexeme))))}));
[INFO] [stdout]    |                       ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/gram_parser.rs:92:22
[INFO] [stdout]    |
[INFO] [stdout] 92 |         let (b, _) = try!(self.consume(a, ARROW));
[INFO] [stdout]    |                      ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/gram_parser.rs:93:25
[INFO] [stdout]    |
[INFO] [stdout] 93 |         let (c, body) = try!(self.Body(b));
[INFO] [stdout]    |                         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/gram_parser.rs:94:22
[INFO] [stdout]    |
[INFO] [stdout] 94 |         let (d, _) = try!(self.consume(c, SEMI));
[INFO] [stdout]    |                      ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/gram_parser.rs:100:25
[INFO] [stdout]     |
[INFO] [stdout] 100 |         let (j, rule) = try!(self.Rule(i));
[INFO] [stdout]     |                         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/gram_parser.rs:101:25
[INFO] [stdout]     |
[INFO] [stdout] 101 |         let (k, body) = try!(self.Body_(j));
[INFO] [stdout]     |                         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/gram_parser.rs:108:26
[INFO] [stdout]     |
[INFO] [stdout] 108 |             let (j, _) = try!(self.consume(i, VBAR));
[INFO] [stdout]     |                          ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/gram_parser.rs:109:29
[INFO] [stdout]     |
[INFO] [stdout] 109 |             let (k, rule) = try!(self.Rule(j));
[INFO] [stdout]     |                             ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/gram_parser.rs:110:29
[INFO] [stdout]     |
[INFO] [stdout] 110 |             let (l, body) = try!(self.Body_(k));
[INFO] [stdout]     |                             ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/gram_parser.rs:118:28
[INFO] [stdout]     |
[INFO] [stdout] 118 |             let (j, sym) = try!(self.Symbol(i));
[INFO] [stdout]     |                            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/gram_parser.rs:119:29
[INFO] [stdout]     |
[INFO] [stdout] 119 |             let (k, rule) = try!(self.Rule(j));
[INFO] [stdout]     |                             ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0658]: use of unstable library feature `rustc_private`: this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead?
[INFO] [stdout]  --> src/main.rs:9:1
[INFO] [stdout]   |
[INFO] [stdout] 9 | extern crate getopts;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: see issue #27812 <https://github.com/rust-lang/rust/issues/27812> for more information
[INFO] [stdout]   = help: add `#![feature(rustc_private)]` to the crate attributes to enable
[INFO] [stdout]   = note: this compiler was built on 2025-07-18; consider upgrading it if it is out of date
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0658]: use of unstable library feature `rustc_private`: this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead?
[INFO] [stdout]   --> src/main.rs:10:1
[INFO] [stdout]    |
[INFO] [stdout] 10 | extern crate libc;
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: see issue #27812 <https://github.com/rust-lang/rust/issues/27812> for more information
[INFO] [stdout]    = help: add `#![feature(rustc_private)]` to the crate attributes to enable
[INFO] [stdout]    = note: this compiler was built on 2025-07-18; consider upgrading it if it is out of date
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0658]: use of unstable library feature `rustc_private`: this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead?
[INFO] [stdout]   --> src/main.rs:27:38
[INFO] [stdout]    |
[INFO] [stdout] 27 | struct MainConfig<'a>{options : &'a [getopts::OptGroup]}
[INFO] [stdout]    |                                      ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: see issue #27812 <https://github.com/rust-lang/rust/issues/27812> for more information
[INFO] [stdout]    = help: add `#![feature(rustc_private)]` to the crate attributes to enable
[INFO] [stdout]    = note: this compiler was built on 2025-07-18; consider upgrading it if it is out of date
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0658]: use of unstable library feature `rustc_private`: this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead?
[INFO] [stdout]   --> src/main.rs:33:18
[INFO] [stdout]    |
[INFO] [stdout] 33 |         unsafe { libc::exit(5); }
[INFO] [stdout]    |                  ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: see issue #27812 <https://github.com/rust-lang/rust/issues/27812> for more information
[INFO] [stdout]    = help: add `#![feature(rustc_private)]` to the crate attributes to enable
[INFO] [stdout]    = note: this compiler was built on 2025-07-18; consider upgrading it if it is out of date
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the feature `globs` has been stable since 1.0.0 and no longer requires an attribute to enable
[INFO] [stdout]  --> src/main.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | #![feature(globs)]
[INFO] [stdout]   |            ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(stable_features)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the feature `macro_rules` has been stable since 1.0.0 and no longer requires an attribute to enable
[INFO] [stdout]  --> src/main.rs:7:12
[INFO] [stdout]   |
[INFO] [stdout] 7 | #![feature(macro_rules)]
[INFO] [stdout]   |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: trait takes 0 generic arguments but 1 generic argument was supplied
[INFO] [stdout]   --> src/gram_lexer.rs:65:10
[INFO] [stdout]    |
[INFO] [stdout] 65 | impl<'a> Iterator<Result<Token<'a>,LexError>> for Lexer<'a> {
[INFO] [stdout]    |          ^^^^^^^^ expected 0 generic arguments
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0046]: not all trait items implemented, missing: `Item`
[INFO] [stdout]   --> src/gram_lexer.rs:65:1
[INFO] [stdout]    |
[INFO] [stdout] 65 | impl<'a> Iterator<Result<Token<'a>,LexError>> for Lexer<'a> {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `Item` in implementation
[INFO] [stdout]    |
[INFO] [stdout]    = help: implement the missing item: `type Item = /* Type */;`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `SortedSet<T>: Eq` is not satisfied
[INFO] [stdout]    --> src/slr.rs:144:30
[INFO] [stdout]     |
[INFO] [stdout] 144 | impl<T: Ord + Clone> Ord for SortedSet<T> {
[INFO] [stdout]     |                              ^^^^^^^^^^^^ the trait `Eq` is not implemented for `SortedSet<T>`
[INFO] [stdout]     |
[INFO] [stdout] note: required by a bound in `Ord`
[INFO] [stdout]    --> /rustc/a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399/library/core/src/cmp.rs:961:1
[INFO] [stdout] help: consider annotating `SortedSet<T>` with `#[derive(Eq)]`
[INFO] [stdout]     |
[INFO] [stdout] 50  + #[derive(Eq)]
[INFO] [stdout] 51  | pub struct SortedSet<T: Ord + Clone> {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Item<'a>: Eq` is not satisfied
[INFO] [stdout]    --> src/slr.rs:238:18
[INFO] [stdout]     |
[INFO] [stdout] 238 | impl<'a> Ord for Item<'a> {
[INFO] [stdout]     |                  ^^^^^^^^ the trait `Eq` is not implemented for `Item<'a>`
[INFO] [stdout]     |
[INFO] [stdout] note: required by a bound in `Ord`
[INFO] [stdout]    --> /rustc/a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399/library/core/src/cmp.rs:961:1
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Symbol: Ord` is not satisfied
[INFO] [stdout]    --> src/slr.rs:259:43
[INFO] [stdout]     |
[INFO] [stdout] 259 |     first_cache : RefCell<HashMap<Symbol, SortedSet<Symbol>>>,
[INFO] [stdout]     |                                           ^^^^^^^^^^^^^^^^^ the trait `Ord` is not implemented for `Symbol`
[INFO] [stdout]     |
[INFO] [stdout] note: required by a bound in `SortedSet`
[INFO] [stdout]    --> src/slr.rs:50:25
[INFO] [stdout]     |
[INFO] [stdout] 50  | pub struct SortedSet<T: Ord + Clone> {
[INFO] [stdout]     |                         ^^^ required by this bound in `SortedSet`
[INFO] [stdout] help: consider annotating `Symbol` with `#[derive(Ord)]`
[INFO] [stdout]     |
[INFO] [stdout] 43  + #[derive(Ord)]
[INFO] [stdout] 44  | pub enum Symbol {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Symbol: Clone` is not satisfied
[INFO] [stdout]    --> src/slr.rs:259:43
[INFO] [stdout]     |
[INFO] [stdout] 259 |     first_cache : RefCell<HashMap<Symbol, SortedSet<Symbol>>>,
[INFO] [stdout]     |                                           ^^^^^^^^^^^^^^^^^ the trait `Clone` is not implemented for `Symbol`
[INFO] [stdout]     |
[INFO] [stdout] note: required by a bound in `SortedSet`
[INFO] [stdout]    --> src/slr.rs:50:31
[INFO] [stdout]     |
[INFO] [stdout] 50  | pub struct SortedSet<T: Ord + Clone> {
[INFO] [stdout]     |                               ^^^^^ required by this bound in `SortedSet`
[INFO] [stdout] help: consider annotating `Symbol` with `#[derive(Clone)]`
[INFO] [stdout]     |
[INFO] [stdout] 43  + #[derive(Clone)]
[INFO] [stdout] 44  | pub enum Symbol {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `f` in this scope
[INFO] [stdout]    --> src/gram_parser.rs:136:16
[INFO] [stdout]     |
[INFO] [stdout] 136 |         return f(i).or(Ok((i,n)))
[INFO] [stdout]     |                ^ help: a local variable with a similar name exists: `i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0046, E0107, E0277, E0405, E0412, E0425, E0432, E0433, E0463...
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0046`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `slr` (bin "slr" test) due to 160 previous errors; 16 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "2fcee0410fd19939079d06ceff2d429a40ea7900a45e76fd6398e085c656cbe2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2fcee0410fd19939079d06ceff2d429a40ea7900a45e76fd6398e085c656cbe2", kill_on_drop: false }`
[INFO] [stdout] 2fcee0410fd19939079d06ceff2d429a40ea7900a45e76fd6398e085c656cbe2
